Date: 09/02/01
- Next message: Jouni Ahto: "Re: [PHP-DOC] Revision check, now working"
- Previous message: Hojtsy Gabor: "Re: [PHP-DOC] Revision check, now working"
- Next in thread: Jeroen van Wolffelaar: "[PHP-DOC] Re: count() return values"
- Reply: Jeroen van Wolffelaar: "[PHP-DOC] Re: count() return values"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Jouni Ahto: "Re: [PHP-DOC] Revision check, now working"
- Previous message: Hojtsy Gabor: "Re: [PHP-DOC] Revision check, now working"
- Next in thread: Jeroen van Wolffelaar: "[PHP-DOC] Re: count() return values"
- Reply: Jeroen van Wolffelaar: "[PHP-DOC] Re: count() return values"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

