3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Auth { public static function check(): bool { return false; } } function failure(string $error): void { throw new RuntimeException($error); } Auth::check() ?: failure('Вам необходимо сначала авторизоваться');
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught RuntimeException: Вам необходимо сначала авторизоваться in /in/N56OH:12 Stack trace: #0 /in/N56OH(15): failure('\xD0\x92\xD0\xB0\xD0\xBC \xD0\xBD\xD0\xB5\xD0\xBE\xD0\xB1...') #1 {main} thrown in /in/N56OH on line 12
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.69 ms | 401 KiB | 8 Q