文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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.


相关阅读 更多 +
排行榜 更多 +
下载oe

下载oe

金融理财 下载
易欧app官方下载安装

易欧app官方下载安装

金融理财 下载
易欧app官方免费下载

易欧app官方免费下载

金融理财 下载