Basics

Comment

PHP

 

Inline Comment

PHP 5
// This is a comment

# This is also an inline comment

Anything after // or # on the line is considered a comment and won't be executed.

 

Multiline Comment

PHP 5
/*
    This is a multiline comment.
    You can have as many lines as you 
    want here.
*/

Anything between /* and */ is considered a comment and won't be executed.