Andi Gutmans wrote:
> Hi Sara,
> 
> Sorry but I wasn't on IRC so I don't quite understand what you're trying to 
> accomplish ;)
> Can you please explain? Once I understand what you're trying to accomplish 
> I'll be more than happy to provide feedback to the
> options list.

Andrei/Pierre have a document on this stuff somewhere.  I wasn't on irc
either.  But I did chat with Andrei about this a couple of weeks ago and
the basic problem we are trying to solve is how to properly encode user
GPC data.  The 2 big problems with the current compile-time JIT approach
we use to populate GPC arrays is that bubbling an encoding error up to
the user is a PITA, especially if we get an error on an entry the user
didn't ask for since current JIT populates the entire array when any
element in the array is accessed.  And the second problem is that
encoding is more expensive per element now, so populating the entire
array just because the script tries to read one element could cause
performance problems and could lead to the array poisoning I talked
about in my reply to Sara's message.

-Rasmus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to