Say I have this array:
$array[] = \'foo\'; $array[] = \'apple\'; $array[] = \'1234567890;
I want to get the length of the longest string in
try
$maxlen = max(array_map('strlen', $ary));