comment syntax php code example
Example 1: php 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
lines
*/
Example 2: how to create comments in php
Answer: Use the Syntax "// text" (single line) and "/* text */"
(multi-line)