PHP: Comment Syntax

By Xah Lee. Date: .

Comment Syntax

<?php
# this is comment. bash style

// comment too, start with 2 slashes. C style

echo 5 + 4;

/*
block comment is also supported.
can be multi-line.
this is Java, C++ style.
 */

?>

hi there