From: Ilia Alshanetsky Date: Wed, 11 Oct 2006 14:56:16 +0000 (+0000) Subject: MFB: s/false/null/ X-Git-Tag: RELEASE_1_0_0RC1~1309 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84b68c40e69950fa8e5b5f1449055391ed05f2b8;p=php MFB: s/false/null/ --- 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"; }