php是默认执行此操作还是没有默认值?
(进入这些数组的数据库中的单元格在第一项中为空)
谢谢
答案 0 :(得分:-1)
If i understand your question very well. PHP uses a function called count() to determine the length of an array ,you can do somethiing like this,
$x = [12,11,334,56,788,999,45,56,23];
$y = count($x);
then change the value of the first array element like this,
$x[0] = $y;
So whenever you call $x[0] you will get the length of the array.