pajoye Tue Mar 31 18:00:33 2009 UTC Modified files: /php-src/ext/filter/tests 046.phpt Log: - remove last test for MAX_INT, did not work on x64 and this case is covered by bug47745.phpt http://cvs.php.net/viewvc.cgi/php-src/ext/filter/tests/046.phpt?r1=1.4&r2=1.5&diff_format=u Index: php-src/ext/filter/tests/046.phpt diff -u php-src/ext/filter/tests/046.phpt:1.4 php-src/ext/filter/tests/046.phpt:1.5 --- php-src/ext/filter/tests/046.phpt:1.4 Mon Mar 30 00:41:01 2009 +++ php-src/ext/filter/tests/046.phpt Tue Mar 31 18:00:33 2009 @@ -12,12 +12,8 @@ $s = sprintf("%d", -PHP_INT_MAX); var_dump(is_long(filter_var($s, FILTER_VALIDATE_INT))); - -$s = sprintf("%.0f", ~(PHP_INT_MAX)-1); -var_dump(filter_var($s, FILTER_VALIDATE_INT)); ?> --EXPECT-- bool(true) bool(false) bool(true) -bool(false)
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php