Return to Snippet

Revision: 8130
at September 4, 2008 08:56 by tgpo


Initial Code
<?=rtrim(ltrim(str_replace(", 1", ", ",chunk_split(implode(range(10000, 19999)), 5,", ")), '1'), ', ');?>

Initial URL
http://www.tgpo.org

Initial Description
This will print every number from 0000-9999.  Each number is comma separated.

The goal was not pretty / readable code, but to get all code on a single line.

Initial Title
PIN Generator 1 line

Initial Tags
php, line

Initial Language
PHP