Answers for "multi line comment in php"

PHP
1

multiple comments in php

<?php
/*
This is a multiple-lines comment block
that spans over multiple
lines
*/
?>
Posted by: Guest on February-12-2021
4

comment in php

<?php
// Author : https://www.codedweb.org/
// This is a single-line comment
# This is also a single-line comment in unix and linux
  
/*
This is a Multi-lines comment block
by this way you can add muliple lines on it. 
lines
*/
  
// You can also use comments to leave out parts of a code line
$var = 2 /* + 12 */ + 2;
echo $var;
?>
Posted by: Guest on June-10-2020
6

php comment

<?php
// This is a single-line comment

# This is also a single-line comment
  
/*
This is a multiple-lines comment block
that spans over multiple
lines
*/
  
// You can also use comments to leave out parts of a code line
$x = 5 /* + 15 */ + 5;
echo $x;
?>
Posted by: Guest on April-30-2020
1

comment php

// This is a single-line comment
# This is also a single-line comment
/*
This is a multiple-lines comment block
that spans over multiple
lines
*/
Posted by: Guest on June-01-2020
1

multi line comment in php

/*
This is a multiple-lines comment block
that spans over multiple
lines
*/
Posted by: Guest on June-11-2021
3

comments in php

//For a single line comment use //:
//this is a comment too
//for multi-line comments use /* and */:
/* <--start of multi-line comment
this is a comment

this is a comment too (end of multi-line comment)-->*/
Posted by: Guest on March-14-2020

Browse Popular Code Answers by Language