Skip to content

Commit 9809628

Browse files
author
Ilia Alshanetsky
committed
s/false/null/
1 parent 0a3b663 commit 9809628

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/filter/tests/030.phpt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $ipv6_test = array(
2323
);
2424
foreach ($ipv6_test as $ip => $exp) {
2525
$out = filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6);
26-
$out = (int) ($out === false ? 0 : 1);
26+
$out = (int) ($out === null ? 0 : 1);
2727
if ($exp != $out) {
2828
echo "$ip failed\n";
2929
}

0 commit comments

Comments
 (0)