Posted by Rik Wasmus on 01/07/08 23:30
On Tue, 08 Jan 2008 00:24:46 +0100, devloop <andrea2004@gmx.de> wrote:
> Thank you soooo much! That´s it! I would have cost me years to find
> that as in JAVA you may write this or leave it!
>
> Do I have to add any include line to use iterator class or
> collections? Do they exist in php?
See: http://nl2.php.net/manual/en/ref.spl.php
Just make sure you explicitly state you class implements ArrayIterator
--
Rik Wasmus
Navigation:
[Reply to this message]
|