<?php $var = 6; $a = function() use ($var){ echo $var; }; $reflected = new \ReflectionFunction($a); var_export($reflected->getStaticVariables());
You have javascript disabled. You will not be able to edit any code.