PHP Comments:
Most of the popular languages (C, C++, Unix) uses same kind of comments, single line (//) and more than one line comments (/* */) and along with these Unix like comment '#' is also supported by PHP.
Single line comments ( // ) is used to make a single line or a block inactive. Similarly the task of # is the same.
Double line or multiple line comments are used when large block is to be commented.
Example:
<?php
//This is a single comment
#This is Unix style comment
/*
* This
* is
* Multiple
* line
* comment
*/
?>
Note: Since the above example has only comments, no output will be generated
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.