首页 > 技术文章 > php学习笔记-添加注释

yfish 2018-02-17 00:52 原文

<?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语言里面的注释方法完全相同。

推荐阅读