PIN Generator 1 line

/ Published in: PHP
Save to your folder(s)

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.

Copy this code and paste it in your HTML
  1. <?=rtrim(ltrim(str_replace(", 1", ", ",chunk_split(implode(range(10000, 19999)), 5,", ")), '1'), ', ');?>


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.