Posted By

tgpo on 09/04/08


Tagged

php generator line single pin


Versions (?)

PIN Generator 1 line


 / 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.

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

Report this snippet  

You need to login to post a comment.