Hello, Here is another patch for ext/filter (I still wait the answer for the other one about decimal separator...).
This patchs adds the input_get_args function. This functions allows to fetch all input you like in one call using a definition array. It is also more flexible than input_get as you can mix options and flags for one value. I put a small example here: http://pecl.php.net/~pierre/filter_input_get_args_example.phps and the patch: http://pecl.php.net/~pierre/patch_filter_input_get_args.txt I voluntary duplicate codes from input_get. It behaves slightly differently and I like to keep them separate as long as the patch is not accepted. I also like to change input_get behaviors. We actually have no way to know if a variable does not exists or is invalid. Both return NULL. I like to return false when a variable does not fit the condition and NULL when it does not exist. Is it fine? If yes, I'll provide another patch. Cheers, -- Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php