Re: [PHP-DEV] Request decoding in PHP 6 [patch]

2009-05-14 Thread Andrei Zmievski
Jani Taskinen wrote: This is a good idea. However, we still have the issue of extensions needing some data from the request before $_POST or $_GET are ever mentioned in the script, since the decoding is done only at that time. You just need to call zend_is_auto_global() to trigger the init.

Re: [PHP-DEV] Request decoding in PHP 6 [patch]

2009-05-14 Thread Jani Taskinen
Andrei Zmievski kirjoitti: Ilia Alshanetsky wrote: Andrei, For you point #7 regarding the session extension. Perhaps we should make a simple API allowing extensions to register callbacks to execute on input data. Once request encoding is set, the callbacks can be ran for GPC input allow exte

Re: [PHP-DEV] Request decoding in PHP 6 [patch]

2009-05-14 Thread Andrei Zmievski
Ilia Alshanetsky wrote: Andrei, For you point #7 regarding the session extension. Perhaps we should make a simple API allowing extensions to register callbacks to execute on input data. Once request encoding is set, the callbacks can be ran for GPC input allow extensions (not just session) to

Re: [PHP-DEV] Request decoding in PHP 6 [patch]

2009-05-14 Thread Ilia Alshanetsky
Andrei, For you point #7 regarding the session extension. Perhaps we should make a simple API allowing extensions to register callbacks to execute on input data. Once request encoding is set, the callbacks can be ran for GPC input allow extensions (not just session) to do their input proc

[PHP-DEV] Request decoding in PHP 6 [patch]

2009-05-14 Thread Andrei Zmievski
Request decoding is one of a few remaining pieces of the Unicode puzzle. The proposed solution was outlined in a blog post [1] I wrote a while back. There has been no movement on this front pretty much since then, but now that 5.3 is wrapping up I want to put some momentum behind PHP 6. Towards