[Intl] Fix int32 min boundary check
This commit is contained in:
parent
c3f0bfe36b
commit
f29476e514
@ -851,7 +851,7 @@ class NumberFormatter
|
||||
return false;
|
||||
}
|
||||
|
||||
if (PHP_INT_SIZE !== 8 && ($value > self::$int32Max || $value <= -self::$int32Max - 1)) {
|
||||
if (PHP_INT_SIZE !== 8 && ($value > self::$int32Max || $value < -self::$int32Max - 1)) {
|
||||
return (float) $value;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user