Single-line comments in PHP code example
Example 1: comment in php
<?php
/*
echo 'This is a test'; /* This comment will cause a problem */
*/
?>
Example 2: 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
*/