PHP标记写法汇总如下:
1、
2、
3、 ?>
4、
5、
其中1,2为常用的写法,在PHP文件中个人建议采用第二种方式来标识;
3,4为短标识,当使用他们需要开启php.ini文件中的short_open_tag,不然会报错,请知晓!
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