PHP 4.0 Bug #8048: Error in count function
| From: | martin at complinet dot com | Date: | Thu, 30 Nov 2000 09:27:28 +0000 |
| Subject: | PHP 4.0 Bug #8048: Error in count function | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-39683@lists.php.net to get a copy of this message | ||
From: martin@complinet.com
Operating system: Linux
PHP version: 4.0.2
PHP Bug Type: *Function Specific
Bug description: Error in count function
The manual page for the 'count' function says that arrays with null elements will be
ignored. This is not true. If you try the example it returns 6 as opposed to 4 as stated. I have
tested this on various systems and found the same result.
Thank You,
Martin
--
Edit Bug report at: http://bugs.php.net/?id=8048&edit=1