3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php spl_autoload_register(function ($class) { print "Zoek naar $class..."; }); $x = new Hans;
Output for 7.0.0 - 7.2.0
Zoek naar Hans... Fatal error: Uncaught Error: Class 'Hans' not found in /in/tnuDD:7 Stack trace: #0 {main} thrown in /in/tnuDD on line 7
Process exited with code 255.
Output for hhvm-3.11.1 - 3.17.3
Zoek naar Hans... Fatal error: Uncaught Error: Class undefined: Hans in /in/tnuDD:7 Stack trace: #0 {main}
Process exited with code 255.
Output for hhvm-3.10.1
Zoek naar Hans... Fatal error: Class undefined: Hans in /in/tnuDD on line 7
Process exited with code 255.
Output for 5.5.0 - 5.6.30
Zoek naar Hans... Fatal error: Class 'Hans' not found in /in/tnuDD on line 7
Process exited with code 255.