php 中的 short_open_tag 的作用,phpshort_open_tag_PHP教程

WBOY
Release: 2016-07-13 09:45:28
Original
1050 people have browsed it

php 中的 short_open_tag 的作用,phpshort_open_tag

在php的配置文件(php.ini)中有一个short_open_tag的值,开启以后可以使用PHP的段标签:( ?>)。

同时,只有开启这个才可以使用 = 以代替 echo 。在CodeIgniter的视频教程中就是用的这种方式。

但是这个短标签是不推荐的,使用才是规范的方法。只是因为这种短标签使用的时间比较长,这种特性才被保存了下来。

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/1042016.htmlTechArticlephp 中的 short_open_tag 的作用,phpshort_open_tag 在php的配置文件(php.ini)中有一个short_open_tag的值,开启以后可以使用PHP的段标签:(? ?)。 同时...
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!