filter tests

php.internals

Kevin Waterson

19 years ago
Can we add the below tests to 013.phpt in filter var_dump(filter_var(TRUE, FILTER_VALIDATE_BOOLEAN)) var_dump(filter_var(FALSE, FILTER_VALIDATE_BOOLEAN)) returns bool(true) and bool(false) respectively. perhaps add them to the Logical filter array in 034.phpt also may do some good. Kevin
-- "Democracy is two wolves and a lamb voting on what to have for lunch. Liberty is a well-armed lamb contesting the vote."