diff options
Diffstat (limited to 'ext/filter/tests/034.phpt')
-rw-r--r-- | ext/filter/tests/034.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/filter/tests/034.phpt b/ext/filter/tests/034.phpt index a041786639..f96596d7c3 100644 --- a/ext/filter/tests/034.phpt +++ b/ext/filter/tests/034.phpt @@ -16,12 +16,12 @@ $booleans = array( 'faLsE' => false, 'oFf' => false, -'' => null +'' => false ); foreach($booleans as $val=>$exp) { $res =filter_var($val, FILTER_VALIDATE_BOOLEAN); - if ($res !== $exp) { + if ($res !== $exp) { echo "$val failed,'$exp' expect, '$res' received.\n"; } } |