Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork152
feature [8.4][bcmath] implement bcround, bcceil and bcfloor#546
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:1.x
Are you sure you want to change the base?
Conversation
Uh oh!
There was an error while loading.Please reload this page.
394b10a todd5ededCompare| if (\PHP_VERSION_ID < 80400) { | ||
| // @author Thomas Durand <github@thomasdurand.fr> | ||
| final class RoundingMode { |
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.
when PHP >= 8.1 is used, we should use a real enum
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.
@nicolas-grekas When I try to introduce an enum, even behind an if PHP_VERSION_ID, older PHP version are complaining pretty badly on the syntax.
Seethis CI run
An idea?
2f04391 to41c0a15Compare41c0a15 to8453863Compare
Uh oh!
There was an error while loading.Please reload this page.
bcround,bcfloorandbcceilpolyfills