-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Intl] Fix invalid numeric literal on PHP 7 #18216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -213,24 +213,18 @@ class NumberFormatter | |||
); | |||
|
|||
/** | |||
* The maximum values of the integer type in 32 bit platforms. | |||
* The maximum value of the integer type in 32 bit platforms. | |||
* | |||
* @var array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
needs update
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed thanks
ba228f0
to
1ea3cb1
Compare
While you are at it, the When merging in 3.0 the |
1ea3cb1
to
999c0a5
Compare
@Tobion updated |
👍 Status: Reviewed |
Thank you @nicolas-grekas. |
This PR was merged into the 2.3 branch. Discussion ---------- [Intl] Fix invalid numeric literal on PHP 7 | Q | A | ------------- | --- | Branch? | 2.3 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Work around `true === is_float(-9223372036854775808)`. Commits ------- 999c0a5 [NumberFormatter] Fix invalid numeric literal on PHP 7
Work around
true === is_float(-9223372036854775808)
.