On this page本页内容
$size
¶Counts and returns the total number of items in an array.计算并返回数组中的项目总数。
$size
has the following syntax:语法如下所示:
The argument for $size
can be any expression as long as it resolves to an array. $size
的参数可以是任何表达式,只要它解析为数组。For more information on expressions, see Expressions.有关表达式的详细信息,请参阅表达式。