hello,

I forgot the scalar/array part :)

I also added FILTER_FLAG_SCALAR and FILTER_FLAG_ARRAY. These flags let
you choose if you allow scalar only or array.

For example: foo.php?a[]=1&a[]=2 will be invalid if you use the
FILTER_FLAG_SCALAR. I like to add this feature to input_get as well.

FILTER_FLAG_ARRAY will always returns you an array, even for
foo.php?a=1 (array(1)).


--Pierre

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

Reply via email to