|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-05-09 17:58 UTC] magnus@php.net
[2004-05-17 21:39 UTC] wf at bitplan dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 09:00:02 2025 UTC |
Description: ------------ Endless recursion crashes Apache PHP should simply report a stack-overflow exception and die This was called non repairable in 2002 but I'd seem its not acceptable for the object oriented PHP 5 version anymore Reproduce code: --------------- <?php class recurse { function loop() { $this->loop(); } // loop } $endless=new recurse(); $endless->loop(); ?> Expected result: ---------------- stack-overflow message Actual result: -------------- Apache crashes