|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-10-06 16:04 UTC] scottmac@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 23:00:01 2025 UTC |
Description: ------------ On all php versions I have available to test, including a local compile of the most recent stable (5.2.6) , using both the apache2 and cli api, I get a segfault on a looped function return. The example below is very simple and no one should make this mistake, but it must not cause php to segfault. For some structures involving complex objects and classes, returning such a loop may not always be obvious and the lack of error reporting after a segfault may make it hard to find the problem. Reproduce code: --------------- <? mySegfault(); function mySegfault(){ return mySegfault(); } ?> Expected result: ---------------- Error Actual result: -------------- Segfault