3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $out = ' '; for ($i=1;$i<10:$i++) { switch ($i) { case true: $out .= 'test_'; case 1: case 2: case 3: $out .= $i; default: $out .= ' '; } } echo $out;
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected ':', expecting ';' in /in/vOgLn on line 3
Process exited with code 255.