Re: short_open_tag

From: Date: Wed, 26 Mar 2008 20:24:55 +0000
Subject: Re: short_open_tag
References: 1 2 3 4 5 6 7 8 9  Groups: php.internals 
Request: Send a blank email to internals+get-36569@lists.php.net to get a copy of this message
On 26.03.2008, at 20:55, Stanislav Malyshev wrote:
Hi!
I don't think I've ever said I don't like short tags. It's not the issue here. The issue is that allowing to change it during runtime adds more WTF to PHP. WTF factors are bad.
2. For any code messing with this value - and this code should be only one place in whole application, the template engine - it is very easy to restore it afterwards, and any programmer smart enough to write in PHP would know to do that.
do note that we have increasingly large numbers of way to jump out of the scope (exceptions, recoverable errors). this obviously makes these kinds of cleanups potentially easier to forget. regards, Lukas

« previous php.internals (#36569) next »