Bug #53545 [Opn->Wfx]: Infinite method recursion causes crash
| From: | felipe@php.net | Date: | Tue, 14 Dec 2010 21:35:35 +0000 |
| Subject: | Bug #53545 [Opn->Wfx]: Infinite method recursion causes crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-157003@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=53545&edit=1
ID: 53545
Updated by: felipe@php.net
Reported by: kpobococ at gmail dot com
Summary: Infinite method recursion causes crash
-Status: Open
+Status: Wont fix
Type: Bug
Package: Scripting Engine problem
Operating System: Windows
PHP Version: 5.2.15
Block user comment: N
Private report: N
New Comment:
This issue was fixed on 5.3 for a while, but it wont be on 5.2 branch.
Previous Comments:
------------------------------------------------------------------------
[2010-12-14 20:58:41] kpobococ at gmail dot com
Description:
------------
The following script causes PHP to crash.
I initially noticed it on my hosting, but since it uses nginx as a
frontend server
I can't confirm that bug appears on linux as well, as all I see is a 500
error.
Test script:
---------------
<?php
class Foo
{
public function test()
{
return $this->test();
}
}
$foo = new Foo;
$foo->test();
Expected result:
----------------
Either out of memory or max execution time exceeded error
Actual result:
--------------
Crash
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=53545&edit=1