<?php
$b=99;$l = "\n";while($b > 0) {$d='bottle'.($b>1?'s':'');echo "$b $d of beer on the wall, $b $d of beer.$l";$b--;echo ($b==0?'Go to the store and buy some more, ':'Take one down and pass it around, ').($b===0?99:$b).' bottles of beer on the wall.'.$l.$l;