From: Jani Taskinen Date: Mon, 30 Nov 2009 19:52:16 +0000 (+0000) Subject: MFH: removed last test for MAX_INT, did not work on x64 and this case is covered... X-Git-Tag: php-5.2.12RC4~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=be62e2c702cec1facae54701348ac13f6ca7942a;p=php MFH: removed 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)