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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux