PHP诠释风格及规则

WBOY
Release: 2016-06-13 12:44:29
Original
834 people have browsed it

PHP注释风格及规则

PHP类似java 有三种注释风格,但它的注释必须放到“?>” 结束符号前才有效,否则就属于HTML注释了。

?

  1. 多行注释
    /*
    ?content......
    */
  2. 单行注释
    // content
  3. Shell 脚本风格
    # content
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 admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template