Closed as not planned
Description
Description
The following code:
<?php
var_dump(gmp_pow("256", PHP_INT_MAX));
Resulted in this output:
object(GMP)#1 (1) {
["num"]=>
string(8) "16777216"
}
But I expected this output instead:
it should alert an overflow?
Or should have a limit for exponent?
PHP Version
nightly
Operating System
ubuntu 22.04