• Howdy! Welcome to our community of more than 130.000 members devoted to web hosting. This is a great place to get special offers from web hosts and post your own requests or ads. To start posting sign up here. Cheers! /Peo, FreeWebSpace.net
managed wordpress hosting

ThE LongesT ThreaD EveR

WOW!!! OMG!@!!! WTF?! 5 YEARS?! NO WAAAAaAAAAAAY!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!œ∑´®©˚∆˙ˆ†∂∆˙©∫¨©˙∆©¬∆∆…¬©˜˙∂ƒ©©∂∆√…¬ˆ¨†√
 
PHP:
<?
for($x=100000;$x>0;$x--)
{
print $x.' Green bottles sitting on the wall,<br>
'.$x.' Green bottles sitting on the wall,<br>
and if one green bottle should accidentally fall,<br>
there\'ll be '.($x-1).' bottles sitting on the wall .....<br><hr><br>';
}
?>
 
I dare ye to run that code!

Also, your <br>'s & <hr>'s aren't XHML strict - you need to close the tag - <br />, <hr />.
 
I tried it.

End filesize is approximately 20MB.

FYI, the last one is slightly wrong - it should be "no green bottles" and not "0 green bottles" :p
 
PHP:
<?
for($x=100000;$x>2;$x--)
{
print $x.' Green bottles sitting on the wall,<br>
'.$x.' Green bottles sitting on the wall,<br>
and if one green bottle should accidentally fall,<br>
there\'ll be '.($x-1).' bottles sitting on the wall .....<br><hr><br>';
}
print $x.' Green bottles sitting on the wall,<br>
'.$x.' Green bottles sitting on the wall,<br>
and if one green bottle should accidentally fall,<br>
there\'ll be '.($x-1).' bottle sitting on the wall .....<br><hr><br>';
$x--;
print $x.' Green bottles sitting on the wall,<br>
'.$x.' Green bottle sitting on the wall,<br>
and if one green bottle should accidentally fall,<br>
there\'ll be no bottles sitting on the wall .....<br><hr><br>';
?>
 
Last edited:
PHP:
<?
for($x=100000;$x>2;$x--)
{
print $x.' Green bottles sitting on the wall,<br>
'.$x.' Green bottles sitting on the wall,<br>
and if one green bottle should accidentally fall,<br>
there\'ll be '.($x-1).' bottles sitting on the wall .....<br><hr><br>';
}
print $x.' Green bottles sitting on the wall,<br>
'.$x.' Green bottles sitting on the wall,<br>
and if one green bottle should accidentally fall,<br>
there\'ll be '.($x-1).' bottle sitting on the wall .....<br><hr><br>';
$x--;
print $x.' Green bottles sitting on the wall,<br>
'.$x.' Green bottle sitting on the wall,<br>
and if one green bottle should accidentally fall,<br>
there\'ll be no bottles sitting on the wall .....<br><hr><br>';
?>

That code prints 100000 through 2 bottles. Then 1 bottle. Then no bottles.
 
Last edited:
Back
Top