Re: Confused on the status of a "bogus" bug report

From: Date: Mon, 08 Jan 2007 23:01:28 +0000
Subject: Re: Confused on the status of a "bogus" bug report
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-246769@lists.php.net to get a copy of this message
Bill Moran wrote:
With reference to: http://bugs.php.net/bug.php?id=40067 I'm confused as to why this was marked bogus, and the message that marked as such doesn't give much insight. It would seem to me that infinite recursion within PHP is a bug. Shouldn't the interpreter catch this sort of thing before it coredumps? Or is the design philosophy for PHP different than that? If anyone can point me to a online explanation for this or other resource, I'd be happy to read up a bit. More than happy to understand why I'm wrong, but right now I feel as if this problem is getting the brush-off.
Getting the interpreter to catch infinite recursion would be bad (imo). It can actually come in handy if you handle it properly: while (true) { ... do stuff if ($conditions_are_met) {
    break;
} } I use this type of idea in some scripts and it works quite well (sometimes I forget the break out part and yeh it causes me some confusion :P). I think the bug report is too complicated.. there are lots of variables involved in what you posted there and for one of the php c developers it's too time consuming to try and replicate - both your environment (php version, how you have it set up and so on) and your script. Pear itself is a complicated beast. If you can narrow it down to a really really simple test case then try again. -- Postgresql & php tutorials http://www.designmagick.com/

« previous php.general (#246769) next »