3v4l.org

run code in 300+ PHP versions simultaneously
<?php function one () { two(); } function two () { three(); } function three () { four(); } function four () { five(); } function five () { throw new Exception; } try {one();}catch (Exception $e){var_dump($e->getTrace());}

preferences:
25.44 ms | 404 KiB | 5 Q