iliaa           Wed Oct 11 14:56:16 2006 UTC

  Modified files:              
    /php-src/ext/filter/tests   030.phpt 
  Log:
  MFB: s/false/null/
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/030.phpt?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/filter/tests/030.phpt
diff -u php-src/ext/filter/tests/030.phpt:1.4 
php-src/ext/filter/tests/030.phpt:1.5
--- php-src/ext/filter/tests/030.phpt:1.4       Wed Oct  4 11:56:15 2006
+++ php-src/ext/filter/tests/030.phpt   Wed Oct 11 14:56:16 2006
@@ -23,7 +23,7 @@
 );
 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";
        }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to