NYCPHP Meetup

NYPHP.org

[nycphp-talk] Simple XML discussion at Zend

Chris Shiflett shiflett at php.net
Tue Jan 20 10:49:13 EST 2004


--- Adam Maccabee Trachtenberg <adam at trachtenberg.com> wrote:
> 5) SimpleXML now returns iterators instead of arrays, so you should
>    now be able to cycle through results using foreach regardless of
>    the number of elements returned. (i.e. even one element works.)

Hey, why don't you give us a nice explanation of what iterators are. :-)

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security Handbook
     Coming mid-2004
HTTP Developer's Handbook
     http://httphandbook.org/



More information about the talk mailing list