RE: [PHP-DEV] PHP 4.0 Bug #5738: arrays doesn't keep track of number of objects in it.

From: Date: Sat, 22 Jul 2000 18:37:16 +0000
Subject: RE: [PHP-DEV] PHP 4.0 Bug #5738: arrays doesn't keep track of number of objects in it.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-25457@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. Can you send me a short snippet of code that reproduces this please? Thanks .mike

« previous php.dev (#25457) next »