通过array_shift()函数加while循环不断移除数组的第一个元素,直到数组为空
"; print "there are ".count( $alpha )." elements in \$alpha "; } ?>
上一篇:怎么在php中利用array_unshift函数将变量添加到数组
下一篇:怎么在php中sort()函数对数组进行排序