How to get the length of longest string in an array

后端 未结 3 1971
说谎
说谎 2020-12-05 17:32

Say I have this array:

$array[] = \'foo\';
$array[] = \'apple\';
$array[] = \'1234567890;

I want to get the length of the longest string in

3条回答
提交回复
热议问题