How to comment in PHP with code

Posted by Sunny.Sagar under Others category on | Points: 40 | Views : 234
From the below code we can clearly see that how to comment

// This is a single-line comment

# This is also a single-line comment

This is a multiple-lines comment block
that spans over multiple

// You can also use comments to leave out parts of a code line
$x = 5 /* + 15 */ + 5;
echo $x;


Comments or Responses

Login to post response