3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh $x = 4; $y = new Map(); var_dump((array)$x); var_dump((array)$y);
based on 1gf7a
Output for 5.4.0 - 5.4.31
Parse error: syntax error, unexpected '$x' (T_VARIABLE) in /in/sK8Nj on line 2
Process exited with code 255.