Hello, On 10/25/06, Skalpa Keo <[EMAIL PROTECTED]> wrote:
Hi, First my apologies for not being able to go a real reply to the real thread, but I just subscribed to the list a couple days ago (and the original thread subject was way too long anyway ;-)). > > Boolean values are the only case where it is not possible to > > distinguish FALSE from invalid as they can be FALSE, but it is really > > not an issue. > If it wasn't an issue I wouldn't have fixed it. IMHO there's a more simple way to fix that without changing all the functions behavior. I think the distinction between NULL (non-existent data) and FALSE (invalid) should be kept and that having both cases return NULL, thus forcing users to use filter_has_var() to determine what this NULL means is a bit counter-intuitive.
The problem is solved and a new flag has been commited, FILTER_NULL_ON_FAILURE. --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php