How to disable PHP short open tags?

Some of my pages has XML tags like '<?xml ?>' which are considered by PHP as short open tags '<? ?>'. How to disable PHP short open tags?

asked Aug 6 by anonymous

1 Answer

In PHP, to disable the short open tags, you can set the variable

short_open_tags = FALSE;

in your php.ini.

Reference: short_open_tags in php.ini

answered Sep 7 by Eric Z Ma (43,600 points)

Please log in or register to answer this question.

Copyright © SysTutorials. User contributions licensed under cc-wiki with attribution required.
Hosted on Dreamhost

...