We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3b663 commit 9809628Copy full SHA for 9809628
ext/filter/tests/030.phpt
@@ -23,7 +23,7 @@ $ipv6_test = array(
23
);
24
foreach ($ipv6_test as $ip => $exp) {
25
$out = filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6);
26
- $out = (int) ($out === false ? 0 : 1);
+ $out = (int) ($out === null ? 0 : 1);
27
if ($exp != $out) {
28
echo "$ip failed\n";
29
}
0 commit comments