How to add comments in PHP – BeingStudy

Posted on

PHP comment is not read/executed as part of the program. Its only purpose is to be read by someone who is looking at the code.

To do a single line comment type “//” or “#” and all text to the right will be ignored by PHP interpreter.