Commenting PHP Code

A comment is that the portion of a program that exists just for the human reader and stripped out before displaying the programs result.

Single-line comments :

   # This is a comment, and
   # This is the second line of the comment
   // This is a comment too. Each style comments only
   print "An example with single line comments";

Multi-lines comments :

   /* This is a comment with multiline
      Author : Mohammad Mohtashim
      Purpose: Multiline Comments Demo
      Subject: PHP
   print "An example with multi line comments";