3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?hh $x = 4; $y = Map(); var_dump((array)$x); var_dump((array)$y);
based on cBQpa
Output for 5.4.0 - 5.4.32
<?hh $x = 4; $y = Map(); var_dump((array)$x); var_dump((array)$y);