<?php $outer = function ( $n ) { echo "Outer\n"; $times = 0; $inner = function () use ( &$times, &$inner, $n ) { echo "Inner : ${times}\n"; $times++; if ( $times < $n ){ $inner(); } }; return $inner; }; $inner = $outer(4); $inner(); ?>
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`