We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7060288 commit b32e82cCopy full SHA for b32e82c
NumberFormatter/NumberFormatter.php
@@ -816,7 +816,7 @@ private function getInt64Value($value)
816
return false;
817
}
818
819
- if (PHP_INT_SIZE !== 8 && ($value > self::$int32Max || $value <= -self::$int32Max - 1)) {
+ if (\PHP_INT_SIZE !== 8 && ($value > self::$int32Max || $value < -self::$int32Max - 1)) {
820
return (float) $value;
821
822
Tests/DateFormatter/IntlDateFormatterTest.php
@@ -167,7 +167,7 @@ public function parseQuarterProvider()
167
168
public function testParseThreeDigitsYears()
169
{
170
- if (PHP_INT_SIZE < 8) {
+ if (\PHP_INT_SIZE < 8) {
171
$this->markTestSkipped('Parsing three digits years requires a 64bit PHP.');
172
173
0 commit comments