[php-src] Issue #7894: filter_var("false", FILTER_VALIDATE_BOOL returns the set default value
| From: | damianwadley | Date: | Tue, 11 Jan 2022 09:30:39 +0000 |
| Subject: | [php-src] Issue #7894: filter_var("false", FILTER_VALIDATE_BOOL returns the set default value | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-238957@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/7894
Comment Author: damianwadley
The docs also say
> value
>
> Value to filter. Note that scalar values are converted to string internally before they are
> filtered.
and null converted to a string is an empty string.