摘要: count统计数组里元素的个数; strlen是统计数组中元素的长度; 你如果想统计数组中所有元素的长度,那就用循环统计吧tqeb 代码: $a = array('0' => '123', '1' => 'asdf'); $count = count($a); $a_length = 0; for 阅读全文
posted @ 2016-04-17 19:04 醉菜鸟 阅读(1796) 评论(0) 推荐(0) 编辑