3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = []; echo get_class($a);
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Warning: get_class() expects parameter 1 to be object, array given in /in/W4Tiu on line 4
Output for hhvm-3.18.4 - 3.21.0