1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

PHP 簡単なメモリの使い果たし方

1
Posted at
class A
{
    public function test()
    {
        $this->test();
    }
}

$a = new A();
$a->test();

これでPHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 262144 bytes)になるよ

1
0
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?