3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array(1=>2, 2=>4, 5=>12); if(in_array(1,$x) { echo "in" ; } else { echo "not in"; }
Output for 5.3.0 - 5.4.17
Parse error: syntax error, unexpected '{' in /in/c9SmP on line 6
Process exited with code 255.