> 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.
>
Oh, sorry, I thought you were in the email thread which preceeded the IRC discussion... Okay, I'll back up.


The root problem is HTTP input encoding detection for PHP6. As you probably know, browsers don't tell webservers what encoding they're using, they just toss request data and hope the server knows how to deal with it. PHP of course, has no idea what the script author has in mind for the purposes of their app so it has to resort to making "best guesses" which are sometimes accurate, sometimes not.

In order to boost the accuracy rate, we (Andrei, and others) thought it'd be a good idea to delay decoding of request parameters until during runtime (so that the user can perform some logic and perhaps offer a hint to the engine as to what encoding should be used). To accomplish this, it made sense to us the JIT semantics of autoglobals as the mechanism.

This approach (which got some decent buyin from the list last month), means that the next steps get moved back by an action. I.e. Before working up request encoding, we make JIT actually *be* JIT. The approach we take to do this step is the subject of my earlier post.

Hope that helps clear things up.

-Sara

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

Reply via email to