An array constructor with no elements represents an empty array (that is, an array with cardinality equal to 0).
没有元素的阵列构造函数表示空阵列(也就是说,基数等于0的阵列)。
The count function counts the number of elements in an array, so you would expect $elems to equal 3 in the example.
count 函数统计数组中的元素个数,所以在本例中 $elems 应该等于3。
Note: Both parameters must have equal number of elements.
注意:每个参数所包含的元素数量必须相等。
应用推荐