Writing Comments in PHP

Author: Al-mamun Sarkar Date: 2020-04-22 10:40:13

The following code shows how to write a single line as well as multiline comments in PHP Programming.

 

Single Line comment:

< ?php
// a single-line comment

# Another single-line comment
?>

 

Multiline Comment:

<?php
/*
a multiple-lines 
This is another line
a line
*/
?>