3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $class = NonExistentClass::class; var_dump( class_exists($class) ); new $class();
based on Mrfg3
Output for 7.1.25 - 7.3.1
bool(false) Fatal error: Uncaught Error: Class 'NonExistentClass' not found in /in/Yob61:9 Stack trace: #0 {main} thrown in /in/Yob61 on line 9
Process exited with code 255.