<?php foreach (range(1, 10) as $num) { $fun = function () use ($num) { return $num; }; } echo $fun();
You have javascript disabled. You will not be able to edit any code.