mirror of
https://github.com/php/php-src.git
synced 2024-11-29 04:46:07 +08:00
- remove last test for MAX_INT, did not work on x64 and this case is
covered by bug47745.phpt
This commit is contained in:
parent
4a40de7e79
commit
a35ba55065
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user