ID: 40381 Updated by: [EMAIL PROTECTED] Reported By: guus dot leeuw at guusleeuwit dot com -Status: Open +Status: Bogus Bug Type: Reproducible crash Operating System: RedHat FC6 x64 PHP Version: 5.2.0 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 . Previous Comments: ------------------------------------------------------------------------ [2007-02-07 08:12:03] guus dot leeuw at guusleeuwit dot com Description: ------------ Using the script below causes PHP to crash with a segfault. I would expect PHP to catch a recursion like this and report an error through php_error or some such. Reproduce code: --------------- <?php class A { function last_error() { return $this->last_error(); } } $a = new A(); echo $a->last_error(); exit(0); ?> Expected result: ---------------- I expect an error along the lines of: brk() problem when calling function last_error(). Cannot increase stack space. Actual result: -------------- Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=40381&edit=1