fork download
  1. <?php
  2.  
  3. $a = [];
  4. for($i = 0; $i < 10000; ++$i) {
  5. $a[random_bytes(mt_rand(1, 30))] = mt_rand(100, 10000);
  6. }
  7.  
  8. echo json_encode($a);
Success #stdin #stdout 0.03s 25604KB
stdin
Standard input is empty
stdout
Standard output is empty