Re: ArrayObject (WAS: CVS Access)
| From: | Hannes Magnusson | Date: | Sun, 13 Jan 2008 20:57:03 +0000 |
| Subject: | Re: ArrayObject (WAS: CVS Access) | ||
| References: | 1 2 3 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969378541@lists.php.net to get a copy of this message | ||
On Jan 13, 2008 9:51 PM, Carola 'Sammy' Kummert <ray-chords@gmx.de> wrote:
> Hannes Magnusson wrote:
> > On Jan 12, 2008 10:25 PM, Herman Radtke <hermanradtke@gmail.com> wrote:
> >> +echo $arrayobject->count();
> >
> > This should be count($arrayobject);
>
> should it? ArrayObject has a count method also, see
The method is inherited from the Countable interface.
The whole point of the interface is the count() support.
-Hannes