Re: filter_input and auto_globals_jit
| From: | Ángel González | Date: | Thu, 22 May 2014 21:28:01 +0000 |
| Subject: | Re: filter_input and auto_globals_jit | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74435@lists.php.net to get a copy of this message | ||
On 22/05/14 23:01, Gary Mort wrote:
Here is an oddity which I'm not sure how this is supposed to work. If you have auto_globals_jit enables then not only are super global variables not initialized unless they are called, the underlying data storage for the original data[used by filter_input] will not be populated.
So the question is, is this by design? In which case I'll update the docs. Or is this an oversight? In which case I'll open a bug and submit a patch. Looks like a bug. After all, filter_input *is* using the variables.