Re: short_open_tag

From: Date: Thu, 17 Oct 2002 08:49:40 +0000
Subject: Re: short_open_tag
References: 1 2 3 4  Groups: php.dev 
Request: Send a blank email to php-dev+get-89621@lists.php.net to get a copy of this message
At 05:11 17/10/2002, Yasuo Ohgaki wrote:
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.
No, we shouldn't have. It is not a deprecated feature or a discouraged feature. If you use the *FAIRLY RARE* combination of using PHP to generate XML, you'd have to configure your PHP. If you're with the vast majority of the population and couldn't care less about writing XML-embedded scripts, you enjoy a working short tag. Zeev

« previous php.dev (#89621) next »