3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <?php $res[0] = "1.12"; $res[1] = ">"; $res[2] = "1"; switch($res[1]) { case ">": return $res[0]." > ".$res[1]; break; }
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected '<' in /in/mm46A on line 2
Process exited with code 255.