on 10/2/03 5:12 AM, Jay Blanchard at [EMAIL PROTECTED] wrote: > [snip] > > So I tried it out.. at first I created a loop that assigned $x = 1; a whole > bunch of times, but that didnąt crash anything.. .. 7996 > > Well to make an already long story short.. it looks like after a couple of > hours bugs.php.net has removed my post. > > My question to you is.. is there any reason why they would remove my post? > [/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. > :) > > <?php > > $i = 0; > > while($i < 12000){ > $x = 1; > $i++; > } > echo $x . "\n"; > ?> > > No crash.
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 :) Rick "There are only two ways to live your life. One is as though nothing is a miracle. The other is as though everything is a miracle." - Albert Einstein -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php