Comments in PHP

Comments in PHP intended to provide an explanation for the program that has been written. Such information will be very useful when other programmers aiming to understand flow program that has been written or make it easier for programmers when it will develop a program that has been created. There are some signs and patterns that can be used as comments, among others:
  • Style in C ++ -> //
  • Style language C -> /*….*/
  • Style shell with -> #


<? php
echo “Attempted wear comment <br>”;
// echo “will not be displayed because this is a comment”;
echo “The above line will not be displayed as a comment”;

Comments in PHP
Next, you can learn  Displaying Data PHP.
Spread the love
See also  PHP: Data Types and Variables

Fajar (Ucup)

The owner and author of and also someone who likes to share interesting information with others.

Leave a Reply

Your email address will not be published. Required fields are marked *