#28337 [Opn->Bgs]: endless recursion crashes Apache
| From: | magnus@php.net | Date: | Sun, 09 May 2004 15:58:42 +0000 |
| Subject: | #28337 [Opn->Bgs]: endless recursion crashes Apache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59425@lists.php.net to get a copy of this message | ||
ID: 28337
Updated by: magnus@php.net
Reported By: wf at bitplan dot com
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: Windows XP SP1
PHP Version: 5.0.0RC2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
Don't do that.
Previous Comments:
------------------------------------------------------------------------
[2004-05-09 17:33:14] wf at bitplan dot com
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
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28337&edit=1