Home >Backend Development >PHP Problem >How to close tag in php

How to close tag in php

藏色散人
藏色散人Original
2021-03-26 10:44:022610browse

How to close tags in php: first find and open the php.ini configuration file; then search for the "short_open_tag" item; finally set its value to off to turn off the short tag function.

How to close tag in php

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

php opens and closes the shortcut Tag function

Sometimes short tags are indeed useful, but if some space providers do not enable them, it will cause error reports.

We need to open php.ini and search for short_open_tag, turn on or off on /off. Then restart the service.

【Recommended learning: PHP video tutorial

The above is the detailed content of How to close tag in php. For more information, please follow other related articles on the PHP Chinese website!

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