<?php $ar3 = array(123, array(12, 665, array(77, 255, 98, 56), 8), 1155, 676); $max = null; array_walk_recursive($ar3, function($v)use(&$max){if($max === null || $v > $max) $max = $v;}); echo $max;
You have javascript disabled. You will not be able to edit any code.