Tag Archives: commenting in php

Comments in PHP

Comment is more helpful to programmer. In comment we can write what is use of variables, logic fundamental, instruction or etc so that other person knows code easily. How to define comment in PHP: // used for single line comment. /* … .. . */ used for commenting block. Example <?php // single line comment. […]