This time I will bring you phpLanguageComments, analysis of steps to implement single-line comments and multi-line comments, php language comments, implementation of single-line comments and multi-line comments What are the precautions? The following is a practical case, let’s take a look.
PHP language comments are divided into single-line comments and multi-line comments.
1. PHP single line comment:
PHP comment symbol: //
PHP single line Comment example:
<?php //输出 脚本之家 PHP中文网:独家原创,永久免费的在线php视频教程,php技术学习阵地! ?>
2. PHP multi-line comment
PHP multi-line comment symbol: /* */
PHP multi-line comment example:
<?php /*输出 PHP中文网 PHP中文网:独家原创,永久免费的在线php视频教程,php技术学习阵地! */ ?>
Basically that’s it, very basic, but easy to forget.
I believe you have mastered the method after reading the case in this article. For more exciting information, please pay attention to the php Chinese website Other related articles!
Recommended reading:
imagecopymerge() function creation Detailed explanation of translucent watermark steps
The above is the detailed content of PHP language comments, single-line comments and multi-line comments implementation steps analysis. For more information, please follow other related articles on the PHP Chinese website!