". If not, it cannot be commented naturally, because the code outside "" is generally HTML code needs to be commented using "", which is used to comment HTML code."/> ". If not, it cannot be commented naturally, because the code outside "" is generally HTML code needs to be commented using "", which is used to comment HTML code.">

Home  >  Article  >  Backend Development  >  PHP //Cannot comment

PHP //Cannot comment

Guanhui
GuanhuiOriginal
2020-06-08 11:21:214022browse

PHP //Cannot comment

PHP //Unable to comment

In PHP, "//" cannot be commented. First check whether "//" is in "" cannot be commented unless it is natural, because the code outside "" is generally HTML code and needs to be commented with "". This annotation is used to annotate HTML code.

Example

PHP //Cannot comment

##Recommended tutorial: "

PHP tutorial

The above is the detailed content of PHP //Cannot comment. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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 admin@php.cn