From 84b68c40e69950fa8e5b5f1449055391ed05f2b8 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 11 Oct 2006 14:56:16 +0000 Subject: [PATCH] MFB: s/false/null/ --- ext/filter/tests/030.phpt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; } -- 2.50.1