3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = new stdObject(); var_dump((array)$a);
Output for 7.1.0
Fatal error: Uncaught Error: Class 'stdObject' not found in /in/VFCmX:2 Stack trace: #0 {main} thrown in /in/VFCmX on line 2
Process exited with code 255.