on 10/2/03 7:00, Jay Blanchard at [EMAIL PROTECTED] wrote:

> [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.

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.

Cheers!

Rick

"The flame of inspiration needs to be encouraged. Put a glass around that
small candle and protect it from discouragement or ridicule." - Mary Higgins
Clark

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

Reply via email to