3v4l.org

run code in 300+ PHP versions simultaneously
<?php $closure = (new ReflectionFunction(eval('return function ($__contextVariables__){unset($__contextVariables__);return function (){};};')))->getClosure()->bindTo(new stdClass(), 'stdClass');var_dump($closure());

preferences:
40.08 ms | 402 KiB | 5 Q