We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following code results in Out of memory error.
Out of memory
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:
string(1) "0"
PR fixing this issue: #11798
PHP 8.2
No response
The text was updated successfully, but these errors were encountered:
549c657
Fix phpGH-11761: Bcmath numbers with trailing zeros (php#11798)
685f3ee
No branches or pull requests
Description
The following code results in
Out of memory
error.https://3v4l.org/vHJkg#v8.2.7
Resulted in this output:
But I expected this output instead:
PR fixing this issue: #11798
PHP Version
PHP 8.2
Operating System
No response
The text was updated successfully, but these errors were encountered: