Hi Lars, On Sat, Mar 22, 2008 at 1:09 PM, Lars Strojny <[EMAIL PROTECTED]> wrote:
> Providing the infrastructure to enable/disable short tags per runtime > allows people to better define their API, in this case the API for > templating as they can define "the only point where one may use short > tags, are the templates". Currently, if people want short tags, and they > want to use it (see Solar_View or Zend_View from the Solar resp. Zend > Framework), the only way to use short tags is to globally enable them. > So please, just leave the patch in, and do not use short tags, if you > dislike them. It seems to be very hard to understand that it is not so simple. If this feature is added, every library/module write will have to take care of the short tags if they like to work smoothly in any unknown configuration at runtime. The check is now done (in many cases) during the installation phase and the install script asks the user to disable the short tags to install and run the application or library. If Zend_View or Solar_View use short tags (even worst if they require them), they must be the exceptions in any recent/decent frameworks. The problem with this feature is that the setting can be changed at runtime, anytime. It is yet another pain a la magic quotes GPC and other things like register globals. You said: "the only way to use short tags is to globally enable them." That's not the case anymore with this patch and that's why we don't like it... -- Pierre http://blog.thepimp.net | http://www.libgd.org -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php