You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If base is 0, the base used is determined by the format of value:
If string binary integer > decbin($i_max) overflow to decbin($i_max), if with - sign and < decbin($i_min) underflow to decbin($i_min)
Example 1 string Integer overflow on a 64-bit system
Description
The following code:
Resulted in this output:
But I expected this output instead:
Similarly, if we use
$base = 16
Note the
0o
prefix is not supported (which is what initially led me down this rabbit hole).PHP Version
PHP 8.3
Operating System
No response
The text was updated successfully, but these errors were encountered: