1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00

MFH: removed last test for MAX_INT, did not work on x64 and this case is covered by bug47745.phpt

This commit is contained in:
Jani Taskinen
2009-11-30 19:52:16 +00:00
parent fb44cca847
commit be62e2c702
-4
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)