summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-10-11 14:55:57 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-10-11 14:55:57 +0000
commit98096285447d77d759cd91b6f104c0d7a133d708 (patch)
treeaa82da6fcc6d58f722a03ef337ffec8dc5887008
parent0a3b663a1badac4bd4bd4d2077e2da07486c753e (diff)
downloadphp-git-98096285447d77d759cd91b6f104c0d7a133d708.tar.gz
s/false/null/
-rw-r--r--ext/filter/tests/030.phpt2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/filter/tests/030.phpt b/ext/filter/tests/030.phpt
index 97b62b9e26..257d1d6cbd 100644
--- a/ext/filter/tests/030.phpt
+++ b/ext/filter/tests/030.phpt
@@ -23,7 +23,7 @@ $ipv6_test = array(
);
foreach ($ipv6_test as $ip => $exp) {
$out = filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6);
- $out = (int) ($out === false ? 0 : 1);
+ $out = (int) ($out === null ? 0 : 1);
if ($exp != $out) {
echo "$ip failed\n";
}