/ Published in: PHP
URL: http://www.tgpo.org
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.
Expand |
Embed | Plain Text
<?=rtrim(ltrim(str_replace(", 1", ", ",chunk_split(implode(range(10000, 19999)), 5,", ")), '1'), ', ');?>
You need to login to post a comment.
