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 -> #

example:

<? 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

Fajar (Ucup)

The owner and author of FajarYusuf.com 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 *