• Teach Your Self With
             w3htmlschool.com

PHP Comment

The commnet is the line/or group of lines in PHP script that will not executed .There are several way to write commnet.


Inline Comment

PHP supports this type of commenting by using two consecutive forward slashes(//) pceceding any comment added.


Block Comment

block comments can start with a forward slash followed by an asterisk (/*), then close with an asterisk followed by a forward slash (*/)..

Example
Example Output