3v4l.org

run code in 300+ PHP versions simultaneously
<?php function eh($type, $message, $file, $line, $context) { throw new Exception(); } set_error_handler('eh'); try { $a->b; } catch (\Exception $e) { $trace = $e->getTrace(); print_r($trace[0]['args'][4]); }

preferences:
35.45 ms | 402 KiB | 5 Q