3v4l.org

run code in 500+ PHP versions simultaneously
<?php class MyClassException extends Exception { } spl_autoload_register(static function ($className) { throw new MyClassException('Class not found'); }); class_exists(Foo::class);
Output for git.master, git.master_jit
Fatal error: Uncaught MyClassException: Class not found in /in/m0DIP:8 Stack trace: #0 [internal function]: {closure:/in/m0DIP:7}('Foo') #1 /in/m0DIP(11): class_exists('Foo') #2 {main} thrown in /in/m0DIP on line 8
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:
62.04 ms | 2871 KiB | 4 Q