Home >Backend Development >PHP Problem >How to close tag in php
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.
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!