3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class O {} $my = new O(); //echo (string) $my; array($my => 3);
based on ar5A0
Output for 4.3.9 - 7.2.0
Warning: Illegal offset type in /in/D2P8m on line 8
Output for 4.3.0 - 4.3.8