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)になるよ
Go to list of users who liked
Share on X(Twitter)
Share on Facebook
More than 5 years have passed since last update.
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)になるよ
Register as a new user and use Qiita more conveniently
Go to list of users who liked