iliaa           Wed Oct 11 14:55:58 2006 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/filter/tests   030.phpt 
  Log:
  s/false/null/
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/030.phpt?r1=1.3.2.1&r2=1.3.2.2&diff_format=u
Index: php-src/ext/filter/tests/030.phpt
diff -u php-src/ext/filter/tests/030.phpt:1.3.2.1 
php-src/ext/filter/tests/030.phpt:1.3.2.2
--- php-src/ext/filter/tests/030.phpt:1.3.2.1   Tue Oct  3 02:16:53 2006
+++ php-src/ext/filter/tests/030.phpt   Wed Oct 11 14:55:57 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