3v4l.org

run code in 300+ PHP versions simultaneously
<?php set_error_handler(function (int $code, string $message, string $file, int $line) : never { throw new ErrorException($message, $code, E_NOTICE, $file, $line); }, ~0); try { include __DIR__; } catch (Throwable $thrown) { var_dump((string) $thrown); } ?>
Output for git.master, git.master_jit
string(205) "ErrorException: include(/in): Failed to open stream: Success in /in/B8DQp:6 Stack trace: #0 /in/B8DQp(6): {closure:/in/B8DQp:2}(2, 'include(/in): F...', '/in/B8DQp', 6) #1 /in/B8DQp(6): include() #2 {main}"

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:
47.11 ms | 405 KiB | 5 Q