3v4l.org

run code in 300+ PHP versions simultaneously
<?php function my_autoloader_1($class) { } foreach (array('my_autoloader_1', 'my_autoloader_2') as $autoloader) { spl_autoload_register($autoloader, false); }
Output for git.master, git.master_jit, rfc.property-hooks
Notice: spl_autoload_register(): Argument #2 ($do_throw) has been ignored, spl_autoload_register() will always throw in /in/YljkQ on line 6 Fatal error: Uncaught TypeError: spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, function "my_autoloader_2" not found or invalid function name in /in/YljkQ:6 Stack trace: #0 /in/YljkQ(6): spl_autoload_register('my_autoloader_2', false) #1 {main} thrown in /in/YljkQ on line 6
Process exited with code 255.

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
28.76 ms | 406 KiB | 5 Q