RE: [PHP-DEV] short_open_tag

From: 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:
There are two solutions to the problem: 1. change php.ini so that by default short_open_tag = Off
That'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?> ?
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/

« previous php.dev (#41016) next »