PHP language comments, single-line comments and multi-line comments related content

jacklove
Release: 2023-04-02 07:14:02
Original
3149 people have browsed it

This article mainly introduces PHP language comments, single-line comments and multi-line comments. Friends in need can refer to

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:

Copy after login

2. PHP multi-line comments

PHP multi-line comment symbols: /* */

PHP multi-line comment example:

Copy after login

Related recommendations:

phpstorm regular matching deletion Blank lines, comment lines

Examples of sequential linked lists and linked linear lists of php data structures

Through the source code To parse the related content of Laravel dependency injection

The above is the detailed content of PHP language comments, single-line comments and multi-line comments related content. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!