Skip to content

Conversation

thiemowmde
Copy link
Contributor

This applies to int32 as well as int64 PHP versions.

@brightbyte
Copy link

What exactly caused the overflow?

@thiemowmde
Copy link
Contributor Author

The line I fixed? $number === floor( $number ) is not a proper "can be converted to integer" check.

@brightbyte
Copy link

Ah, it's the line after the one you changed that actually overflows. I was confused about floor() having a problem with big numbers...

@brightbyte brightbyte merged commit a0bcd3c into master Jul 11, 2016
@brightbyte brightbyte deleted the int32Decimals branch July 11, 2016 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants