3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php spl_autoload_extensions(".class.php"); spl_autoload_register('spl_autoload', true); var_dump(class_exists('\\test\\ting'));
Output for 5.2.1 - 7.1.0
bool(false)
Output for 5.1.0 - 5.2.0
Fatal error: Uncaught exception 'LogicException' with message 'Class \test\ting could not be loaded' in /in/f5JYS:4 Stack trace: #0 [internal function]: spl_autoload('\test\ting') #1 [internal function]: spl_autoload_call('\test\ting') #2 /in/f5JYS(4): class_exists('\test\ting') #3 {main} thrown in /in/f5JYS on line 4
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function spl_autoload_extensions() in /in/f5JYS on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: spl_autoload_extensions() in /in/f5JYS on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: spl_autoload_extensions() in /in/f5JYS on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: spl_autoload_extensions() in /in/f5JYS on line 2