The ways everyone solves the puzzle are much more interesting than the puzzle itself. I made a mysql table with one column set as the primary key and did an insert.
This reminds me of this awesome thread on Sitepoint (5 pages of different ways to output the numbers 0-9): http://www.sitepoint.com/forums/php-34/write-loop-php-prints...