]> granicus.if.org Git - php/commit
Partially fix bug #67167 - Wrong return value...
authorLevi Morrison <levim@php.net>
Thu, 3 Sep 2015 00:23:26 +0000 (18:23 -0600)
committerLevi Morrison <levim@php.net>
Thu, 3 Sep 2015 00:23:26 +0000 (18:23 -0600)
commit432dc527adcbc3bf4809f6315350300d42c16c52
treef62d83d360963bc8c54353c13ae88eba2c8ddea5
parent4388eba51012bc5eeab343fbfe1ad9e379230ccc
Partially fix bug #67167 - Wrong return value...

...from FILTER_VALIDATE_BOOLEAN, FILTER_NULL_ON_FAILURE

The remainer of the fix would require the filter functions to only
convert to string when it makes sense for that particular filter.
ext/filter/filter.c
ext/filter/tests/bug67167.01.phpt [new file with mode: 0644]
ext/filter/tests/bug67167.02.phpt [new file with mode: 0644]