<?php $recursiveClosure = function($arg) use(&$recursiveClosure) { if (is_array($arg)) { $recursiveClosure($arg); }else{ print_r($arg); } }; $recursiveClosure([1,2,3,4,5]);
You have javascript disabled. You will not be able to edit any code.