Hi Pierre,

Am Samstag, den 22.03.2008, 13:27 +0100 schrieb Pierre Joye:
[...]
> 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.

They do not require them, as their "templating" mechanism is as simple
as including a PHP file. So it depends on the runtime settings if this
PHP file can be evaluated properly.

> 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:

Normally, it doesn't matter if short tags are enabled or not. In some
cases it is important to have them disabled (the XML example) and in
some cases it is important to have them enabled (the simple templating
example). So the component which does XML validation can simply disable
it while the templating component enables it. The rest should simply
work with both.

> "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...

I understood that. And that's the reason I like the patch :)

cu, Lars

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to