1. PHP stands for Hypertext Preprocessor.
  2. PHP is a open source scripting language.
  3. PHP was originally created by Danish-Canadian programmer Rasmus Lerdorf in 1994.
  4. PHP is a server side scripting language which is used to perform operations on database.
  5. You can use PHP by inserting PHP code inside the HTML that makes up your website.
  6. The <?php and ?> tags start and end a PHP script.

for example:--

? >


The comments are ignored by the PHP pre-processor when executing a script and are purely for human consumption.It used in php code so that other devloper can understand the code easily.

In php we use two type of comment

1.Single line comment:-

This type of comment is use for a single line.It use by two method

1.By using //
2.By using #


//this is single line comment
#This is main php code

2.Multiline comment:-

This type of comment is use for more than one lines.

Multiline Comment start with /* and end with */.

for example

this is Multiline line comment.....
This is main php code......