3v4l.org

run code in 300+ PHP versions simultaneously
<?php function fn() { throw new Exception('test'); } try { $fn = function() { fn(); }; $fn(); } catch (Exception $e) { foreach ($e->getTrace() as $frame) { $r = new ReflectionFunction($frame['function']); echo($r->isClosure()); } }

This is an error 404

There are `0` results


preferences:
167.94 ms | 1398 KiB | 7 Q