how to make a comment in php
snippet in php

how to make a comment in php

user7291

// single line comment
/* multi line comment
hello
*/

comment php

user7140

// 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
*/

comments in php

user1233

//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)-->*/