Re: short_open_tag
| From: | Zeev Suraski | Date: | Tue, 12 Dec 2000 16:15:44 +0000 |
| Subject: | Re: short_open_tag | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-40986@lists.php.net to get a copy of this message | ||
At 18:03 12/12/2000, Kristian Köhntopp wrote:
short_open_tags = On is leading increasingly to problems if PHP is applied to XML documents or other documents containing XML style PIs. The interpreter usually bails out at <?xml ?> declarations. There are two solutions to the problem: 1. change php.ini so that by default short_open_tag = OffThat's not an option.
2. change the parser so that "<? " is a short open tag, but "<?nonblank" is not.That's something we need to think about. It may be a good idea. Zeev -- Zeev Suraski <zeev@zend.com> CTO, Zend Technologies Ltd. http://www.zend.com/