3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $class = 'Ololo'; $obj = @new $class( 123 ); var_dump( $obj );
based on e649E
Output for 7.0.0 - 7.3.0alpha1
Fatal error: Uncaught Error: Class 'Ololo' not found in /in/q8kSU:4 Stack trace: #0 {main} thrown in /in/q8kSU on line 4
Process exited with code 255.
Output for 5.5.0 - 5.6.28

Process exited with code 255.