try this $array = ['One', 'Two', 'Three']; echo $total_str_length = array_sum(array_map('strlen', $array));. O/P : 11.
確定! 回上一頁