Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Out of memory for zero with trailing zeros in bcmath #11761

Closed
@jorgsowa

Description

@jorgsowa

Description

The following code results inOut of memory error.

https://3v4l.org/vHJkg#v8.2.7

<?phpvar_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 Version

PHP 8.2

Operating System

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp