<?php $arr = [5, 1 , 2, 3, [1,5,59,47,58,[0,12,562]]]; array_walk_recursive($arr, function($v) use (&$res){$res[]=$v;}); echo min($res);
You have javascript disabled. You will not be able to edit any code.