#7. PHP Comments

 What are Comments?

  • //
  • #
  • /*----*/
E.g

<?php

echo "Aqib Saeed";     // This is single-line comment

?> 

Or 

<?php

echo "Aqib Saeed";      #This is Single line comment

?>

Or  

<?php

echo "Aqib Saeed";     /*This is multi line comment*/ 

?> 

Comments

Popular posts from this blog

#30. PHP Recursive Function