On 01.08.2016 at 10:23, Yasuo Ohgaki wrote:

> We have filter_var_array()/filter_input_array() currently. They are
> designed as filter functions.  i.e. They convert offending elements to
> NULL/FALSE. Therefore, it's difficult to validate and see if inputs
> are valid with specified specifications.

Maybe I'm missing something, but wouldn't a comparision of the original
array with the filtered array already suffice, see <https://3v4l.org/GlT49>?

-- 
Christoph M. Becker

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to