fork download
  1. <?php
  2. $a = 333;
  3.  
  4. if ($a > 0) $result = "few";
  5. if ($a > 4) $result = "several";
  6. if ($a > 9) $result = "pack";
  7. if ($a > 19) $result = "lots";
  8. if ($a > 49) $result = "horde";
  9. if ($a > 99) $result = "throng";
  10. if ($a > 249) $result = "swarm";
  11. if ($a > 499) $result = "zounds";
  12. if ($a > 999) $result = "legion";
  13.  
  14. echo $result;
Success #stdin #stdout 0.03s 52480KB
stdin
Standard input is empty
stdout
swarm