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); }

preferences:
48.76 ms | 402 KiB | 5 Q