fork(33) download
  1. <?php
  2.  
  3. $count = 6;
  4. $highball = 45;
  5. $numbers = range(0, $highball);
  6. shuffle($numbers);
  7. $drawn = array_slice($numbers, - $count);
  8. sort($drawn);
  9.  
  10. echo implode(" - ", $drawn);
Success #stdin #stdout 0.02s 52432KB
stdin
Standard input is empty
stdout
8 - 25 - 28 - 34 - 36 - 37