3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = '612 600 616 604 618 606 676 592 704 700 698 694'; $string = explode("\n", $string); reset($string); sort($string); reset($string); foreach($string as $x) { echo 'case ' . $x . ':' . "\n"; }
based on M78ul
Output for 4.3.0 - 7.1.0
case 592: case 600: case 604: case 606: case 612: case 616: case 618: case 676: case 694: case 698: case 700: case 704: