Home > Backend Development > PHP Tutorial > PHP标记几种写法汇总

PHP标记几种写法汇总

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 13:48:06
Original
1718 people have browsed it

PHP标记写法汇总如下:


1、


2、


3、   ?>


4、


5、


其中1,2为常用的写法,在PHP文件中个人建议采用第二种方式来标识;

3,4为短标识,当使用他们需要开启php.ini文件中的short_open_tag,不然会报错,请知晓!

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