- var_dump: documentation ( source)
<?php
$closure = (new ReflectionFunction(eval('return function ($__contextVariables__){unset($__contextVariables__);return function (){};};')))->getClosure()->bindTo(new stdClass(), 'stdClass');var_dump($closure());