Home >Backend Development >PHP Tutorial >What does php short open tag mean (short_open_tag=On)

What does php short open tag mean (short_open_tag=On)

WBOY
WBOYOriginal
2016-07-25 09:09:372731browse
What does php short open tag mean?

In many php programs, we often need to change short_open_tag=Off in php.ini to short_open_tag=On

What is short_open_tag?
In general, PHP code needs to be enclosed with flags. When short_open_tag is set to on, the above flags are allowed to be abbreviated as .

If you are using PHP with XML, you can disable this option to facilitate embedded use of . Otherwise, you can also output it through php, for example:
If disabled, the full form of the PHP code start flag ( ) must be used.

Note: This directive also affects the abbreviated form Recommended: Solution to 500 error on Empire Backup King php5.3.6
php program


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