Edit report at http://bugs.php.net/bug.php?id=53545&edit=1
ID: 53545 Updated by: [email protected] 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
