获取数组长度即最大下标
摘要:$xm = array('小明','男',28,5888.88); //count()函数用于返回数组长度(元素的个数),int(整型) $x = count($xm); echo $x; echo "<br>"; var_dump($x); //3.使用数组长度添加数据 $xm[count($xm
阅读全文
posted @ 2025-12-08 20:59
posted @ 2025-12-08 20:59
posted @ 2025-12-08 20:51
posted @ 2025-12-08 20:47