PHP Syntax: A PHP script always starts with <?php and ends with ?>. A PHP script can be placed anywhere in the document. On servers with shorthand-support, you can start a PHP script with <? and end with ?>.
<?php
echo
"This is my first PHP page";
?>
Comments in PHP: In PHP, we use // to make a
one-line comment or /* and */ to make a comment block:
<?php
//This is a
comment
/* This is
a comment block
*/
?>