<?php $arr1=array(0,1,2,"effe",4); $arr1['news_title']="dddddddd截取指定数量的字符串显示eefffe"; Echo "数组\$arr1中元素的个数为:".count($arr1); Echo "数组\$arr1中字符的个数为:".strlen($arr1['news_title']); ?>
<?php $arr1=array(0,1,2,"effe",4); $arr1['news_title']="dddddddd截取指定数量的字符串显示eefffe"; Echo "数组\$arr1中元素的个数为:".count($arr1); Echo "数组\$arr1中字符的个数为:".strlen($arr1['news_title']); ?>