3v4l.org

run code in 300+ PHP versions simultaneously
<?php $class = NonExistentClass::class; var_dump( class_exists($class) ); new $class();

preferences:
35.47 ms | 402 KiB | 5 Q