Re: Request decoding in PHP 6 [patch]
| From: | Andrei Zmievski | Date: | Thu, 14 May 2009 20:12:39 +0000 |
| Subject: | Re: Request decoding in PHP 6 [patch] | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-43961@lists.php.net to get a copy of this message | ||
Jani Taskinen wrote:
I know that this is an option, but I don't think it's a good one, because it defeats the purpose of JIT. What's the point if we always process $_POST/$_GET/$_COOKIES without giving the user a chance to figure out what the encoding is?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.
btw. ext/session does only need the stuff in RINIT if session.auto_start is enabled. Just remove that option. :DHeh. -Andrei