Re: [PHP] PHP Bug Problems
From: Richard Baskett (rick_at_baskettcase.com)
Date: Sun, 05 Oct 2003 10:23:23 -0700 To: Jay Blanchard <firstname.lastname@example.org>, PHP General <email@example.com>
on 10/2/03 7:00, Jay Blanchard at firstname.lastname@example.org wrote:
>> Because it is not a bug, it is bad code design! 8000+ lines of $x = 1; is
>> 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
> 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 :)
> You said you looped - "I created a loop that assigned $x = 1; a whole bunch of
> 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.
Actually PHP.net released new code that fixed it.. enough OS X people were
commenting on it that they finally decided to research the problem and sure
enough they found the problem and fixed the problem. So it's all good.. I
had not run up against that line limit in any of my code, but apparently
there are packages out there that do include that many lines of code..
anyways it's fixed now so no worries.
"The flame of inspiration needs to be encouraged. Put a glass around that
small candle and protect it from discouragement or ridicule." - Mary Higgins