3v4l.org

run code in 300+ PHP versions simultaneously
<?php try { try { throw new \ArithmeticError("Foo"); } finally { throw new \LogicException("Bar", 0, null); } } catch (\Throwable $e) { print_r($e); }
Output for git.master, git.master_jit
LogicException Object ( [message:protected] => Bar [string:Exception:private] => [code:protected] => 0 [file:protected] => /in/IsrCd [line:protected] => 6 [trace:Exception:private] => Array ( ) [previous:Exception:private] => ArithmeticError Object ( [message:protected] => Foo [string:Error:private] => [code:protected] => 0 [file:protected] => /in/IsrCd [line:protected] => 4 [trace:Error:private] => Array ( ) [previous:Error:private] => ) )

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:
10.07 ms | 410 KiB | 5 Q