Re: Autoglobal CVs without silence -- Summary

From: Date: Sat, 27 Jan 2007 19:48:28 +0000
Subject: Re: Autoglobal CVs without silence -- Summary
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-27696@lists.php.net to get a copy of this message
Hi Andi, On 1/27/07, Andi Gutmans <andi@zend.com> wrote:
Hi Sara, I don't feel to great with this patch. It kind of feels like twisting the language implementation around for some very specific problem which probably shouldn't be fixed at this level. Andrei says performance of Unicode isn't great so it shouldn't matter too much, but I think a) it's not only about performance but also about maintainability. The code in PHP 6 is already much more complex than that of PHP 5 and has become much harder to maintain. Such additional changes will make it worse b) There will still be plenty of people who use PHP 6 in PHP 5 mode. I still haven't quite understood why not just do the detection on the whole auto-global when it's being fetched (or even during request startup). As Andrei said, it's slow anyway so for people who need Unicode that should be an affordable hit.
Please read (once or again) my initial proposal, it is the base of Sara's proposals. Request startup is _not_ a solution because the users must have the ability to define the input encoding before the fist fetch. That's why we decide to move the JIT trigger at runtime instead of compile time. --Pierre

« previous php.internals (#27696) next »