Description
The following code results in Out of memory error.
https://3v4l.org/vHJkg#v8.2.7
<?php
var_dump(bcpow("0.000000000000000000000000000",737332323));
Resulted in this output:
Fatal error: Out of memory (allocated 28266496 bytes) (tried to allocate 7077891 bytes) in /in/vHJkg on line 3
But I expected this output instead:
PR fixing this issue: #11798
PHP Version
PHP 8.2
Operating System
No response