Re: short_open_tag

From: Date: Thu, 17 Oct 2002 08:59:17 +0000
Subject: Re: short_open_tag
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-89620@lists.php.net to get a copy of this message
> We should have warned people not to use short tags years ago. > > We can try it from now. Until we get rid of short tag or > disable it by default, we suggest users to work around > problem. I really think that whoever adds XML to their applications, will be aware of the fact that short open tag can be a troublesome, especially, if we document this bit quite well. Then, problem disappears. > echo "<?xml ......?>" works always and authors of portable > scripts should use it. If there are new processing tags, > echo "<?new_xml_PI .........?>" instead of adding new PI > to parser. (We never know if user use custom PI tag or not) It would be enough to mention this in the docs as a good practice. Unless, everything becomes XML at some point, taking short tags off would cause more damage than help. Maxim Maletsky maxim@php.net

« previous php.dev (#89620) next »