Hi Andi,
On 1/27/07, Andi Gutmans <[EMAIL PROTECTED]> 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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php