文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>PHP Comments

PHP Comments

时间:2007-09-02  来源:wflai


PHP supports C, C++, and shell script style comments.
This is a C-style, multiline comment that might appear at the start of our PHP script  
/* Author: Bob Smith
   Last modified: April 10
   This script processes the customer orders.
*/
Multiline comments should begin with a /* and end with */. As in C, multiline comments cannot be nested.
You can also use single line comments, either in the C++ style     
echo "Order processed."; // Start printing order
or in the shell script style:      
echo "Order processed."; # Start printing order
With both of these styles, everything after the comment symbol (# or //) is a comment until we reach the end of the line or the ending PHP tag, whichever comes first.


相关阅读 更多 +
排行榜 更多 +
罗马战争与防御

罗马战争与防御

策略塔防 下载
3d坦克突击最新版

3d坦克突击最新版

飞行射击 下载
3d子弹先生射击模拟器安卓版

3d子弹先生射击模拟器安卓版

飞行射击 下载