Hi,

The filter_input function has an errornous check for the
FILTER_NULL_ON_FAILURE flag, where it returns NULL if it is NOT set,
and not if it is set.

I added the patch to the bug tracker over a week ago, but it seems
like it has gone unnoticed:

http://bugs.php.net/bug.php?id=51344

Would be great if someone could take a quick look and apply the patch
if it looks good. Test is also included in the patch.

--mats

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

Reply via email to