PHP / PHP Comments

It may be a single / multiline code which is not read/executed as part of the program. I.e. The comments section will be skipped from the execution by the PHP Interpreter.

2 Types of comments in PHP. They were
S. No Type of comment Syntax
1 Single line comments. // single line comment
2 Multiline comments.
/*
Write multiple lines here. Line1
Line2
..
..
linen
*/


Home     Back