Hi,
the docs say count() function returns the number of elements of a 
variable, or 1 if it's not an array, or 0 if the array is void or the 
variable isn't set. 

I think that the paragraph (array.xml:1826)
"Returns 1 if the variable is not an array."
should be changed to
"Returns 1 either if the variable is not an array or the array 
contains just one element."

do you agree?
--
Marco Cucinato

Reply via email to