3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function __autoload($class) { print "Loading $class"; } $c = new ReflecttionClass('test');
based on WpNJb
Output for 7.2.0
Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /in/7vg29 on line 3 Loading ReflecttionClass Fatal error: Uncaught Error: Class 'ReflecttionClass' not found in /in/7vg29:8 Stack trace: #0 {main} thrown in /in/7vg29 on line 8
Process exited with code 255.
Output for 7.0.0 - 7.1.10
Loading ReflecttionClass Fatal error: Uncaught Error: Class 'ReflecttionClass' not found in /in/7vg29:8 Stack trace: #0 {main} thrown in /in/7vg29 on line 8
Process exited with code 255.
Output for 5.3.19 - 5.6.28
Loading ReflecttionClass Fatal error: Class 'ReflecttionClass' not found in /in/7vg29 on line 8
Process exited with code 255.