Re: php6: input encoding, filter and making JIT really JIT
| From: | Pierre | Date: | Sat, 16 Dec 2006 23:31:46 +0000 |
| Subject: | Re: php6: input encoding, filter and making JIT really JIT | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-27055@lists.php.net to get a copy of this message | ||
Here is a couple of notes about both ideas.
On 12/17/06, Pierre <pierre.php@gmail.com> wrote:
One does not even need to check it until it is done with the input decoding process. It will also work nicely with ext/filter, if a validation failed due to the decoding, the error can be fetched using this function.Or with ext/filter, we can even make it available directly: $myvalues = input_filter_array(INPUT_GET, $mydefinition, $decoding_errors); Another question I have about the per element JIT is about the error reporting. I think we need the extra function anyway, I cannot imagine to have notices/warning while checking user inputs (when I use the language correctly but the input are invalid). --Pierre