- remove last test for MAX_INT, did not work on x64 and this case is

covered by bug47745.phpt
This commit is contained in:
Pierre Joye 2009-03-31 17:59:19 +00:00
parent 4a40de7e79
commit a35ba55065

View File

@ -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)