From: Pierre Joye Date: Tue, 31 Mar 2009 17:59:19 +0000 (+0000) Subject: - remove last test for MAX_INT, did not work on x64 and this case is X-Git-Tag: php-5.3.0RC2~241 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a35ba550651ecc5c4947386384ca381d7de4421f;p=php - remove last test for MAX_INT, did not work on x64 and this case is covered by bug47745.phpt --- diff --git a/ext/filter/tests/046.phpt b/ext/filter/tests/046.phpt index ef26e17fbf..8133289461 100755 --- a/ext/filter/tests/046.phpt +++ b/ext/filter/tests/046.phpt @@ -12,12 +12,8 @@ var_dump(filter_var($s, FILTER_VALIDATE_INT)); $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)