Home  >  Article  >  Backend Development  >  How to close short tags in php

How to close short tags in php

藏色散人
藏色散人Original
2021-09-20 10:05:062936browse

How to turn off short tags in php: 1. Open the "php.ini" file and search for the "short_open_tag" item; 2. Set the "short_open_tag" parameter to off; 3. Restart the service.

How to close short tags in php

#The operating environment of this article: Windows7 system, PHP7.1, Dell G3 computer.

How to close short tags in php?

php turns on and off the short tag function

Sometimes short tags are indeed useful, but if some space providers do not turn them on, they will cause errors.

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

How to close short tags in php

Recommended study: "PHP Video Tutorial"

The above is the detailed content of How to close short tags 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