Ilia A. wrote: >>Isn't BIG caution for short_open_tag=Off while having short_open_tag=On >>enough for now? Something like; > > > Nope, please consider a hosting enviroment where an average user does not even > have access to the php.ini file. In fact, most ISP won't make user's life > difficult by forcing <?php because they know that'll lead to waste of their > time and money since they'll be forced to deal with user complains about why > their PHP scripts are not working. > Even people with the ability to modify this file will not necessarily edit it > and only do so if they need to change an option not changeable via other > means.
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. 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) IMHO, it's good enough work around until we have PHP6 or later. -- Yasuo Ohgaki -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php