PHP 4.0 Bug #5738: arrays doesn't keep track of number of objects in it.
| From: | rogjo501 at student dot liu dot se | Date: | Sat, 22 Jul 2000 18:27:52 +0000 |
| Subject: | PHP 4.0 Bug #5738: arrays doesn't keep track of number of objects in it. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25456@lists.php.net to get a copy of this message | ||
From: rogjo501@student.liu.se
Operating system: Linux
PHP version: 4.0.1pl2
PHP Bug Type: Other
Bug description: arrays doesn't keep track of number of objects in it.
When adding class-objects to an array the array doesn't seem to keep track of how many it has.
Like if I add 10 objects to the array and then do a
count(array);
It says 1 item.
This is a bit annoying since I can't use the sorting functions on it either.
// Roger Johannesson