<?php for ($i = 1; $i < 10; $i++) { $context = get_defined_vars(); $functions[$i] = function ($a) use (&$i) { return $a + $i; }; } echo $functions[4](7);
You have javascript disabled. You will not be able to edit any code.