RE: [PHP-DEV] short_open_tag
| From: | Zeev Suraski | Date: | Tue, 12 Dec 2000 17:02:23 +0000 |
| Subject: | RE: [PHP-DEV] short_open_tag | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-41016@lists.php.net to get a copy of this message | ||
At 18:58 12/12/2000, Richard Heyes wrote:
We can consider <?= to be an exception. I don't think <?= can be a valid XML tag anyway. Zeev -- Zeev Suraski <zeev@zend.com> CTO, Zend Technologies Ltd. http://www.zend.com/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. Wouldn't that stamp all over this (rather useful) syntax: <?=$var?> ?