RE: [PHP] PHP Bug Problems

From: Jay Blanchard (jay.blanchard_at_niicommunications.com)
Date: 10/02/03


Date: Thu, 2 Oct 2003 09:00:05 -0500
To: "Richard Baskett" <php@baskettcase.com>, "PHP General" <php-general@lists.php.net>


[snip]
> Because it is not a bug, it is bad code design! 8000+ lines of $x = 1; is just
> downright goofy! Did you happen to try it with 8000+ repeated blocks of any
> other type? My bet is that it would quit then too.

Yeah no crash because that's only a couple lines of code :) And yeah it
doesnąt matter what you have in there just as long as you have that many
lines..

I didn't try include files, but apparently that counts as lines of codes
also.. so 8000+ total lines.. I agree, but it does crash and apparently the
guy that found the bug does write that many lines of code.. don't ask me.. I
don't know why :)
[/snip]

You said you looped - "I created a loop that assigned $x = 1; a whole bunch of times"

But anyhow, I digress. We have several files that exceed 8000 (we try not to write them that big, but YMMV) lines of code that there are no problems with. My bet is that it has to do with memory amount and allocation, which would explain differences between yours and his.



Relevant Pages

  • Re: [PHP] PHP Bug Problems
    ... My bet is that it would quit then too. ... > Yeah no crash because that's only a couple lines of code:) And yeah it ... but that didnąt crash anything.. ... those whom you do not admire; until you have formed the habit of looking for ...
    (php.general)
  • Re: [PHP] PHP Bug Problems
    ... Jay Blanchard at jay.blanchard@niicommunications.com wrote: ... My bet is that it would quit then too. ... > Yeah no crash because that's only a couple lines of code:) And yeah it ...
    (php.general)
  • Re: Entropy sources under WinXP
    ... Your application will crash due to a buffer overrun. ... you're on Vista or your app will crash due to a buffer overrun. ... you should quit trying to be pedantic about it when you are ...
    (sci.crypt)
  • Re: Entropy sources under WinXP
    ... Your application will crash due to a buffer overrun. ... you're on Vista or your app will crash due to a buffer overrun. ... you should quit trying to be pedantic about it when you are ...
    (sci.crypt)
  • Re: AS3 Quit List - Very Old Fogies as of December 10, 2005
    ... they didn't think they could make it this far when they quit. ... yeah more. ... that word speaks castles. ... why do i think of rollercoasters when i think ...
    (alt.support.stop-smoking)