<?php
echo '<title>this is my first php program!</title>';
//this is a single comment!
/*
this is a multi-lines comment!
*/
echo '<h1>hi php!</h1>';
?>
和c语言里面的注释方法完全相同。