This PHP5 tutorial is a little misleading in how it explains iterating over an array that implements ArrayAccess. If your class does this and you want to be able to do a foreach($obj as $k => $d) it may or may not work (depending on the underlying storage of data) by simply implementing IteratorAggregate. Creating a proper iterator is the best way to do this. I will write about that later.

55,982 thoughts on “PHP5 Iterator Tutorial

  1. December 5, 2020

    I simply needed to thank you very much again. I do not know the things that I might have implemented without the basics discussed by you relating to such field. This has been an absolute frightening crisis for me, however , encountering your well-written strategy you solved that forced me to weep for joy. I am just grateful for your guidance and hope that you realize what a powerful job you are putting in training men and women by way of your website. Probably you haven’t got to know all of us.

  2. December 5, 2020

    Thank you a lot for giving everyone such a pleasant opportunity to read articles and blog posts from this site. It can be so cool plus jam-packed with a good time for me and my office co-workers to search the blog no less than thrice in one week to study the latest issues you have got. And indeed, I am also usually pleased with your cool tips you serve. Some 3 tips in this post are definitely the most effective we’ve ever had.

  3. December 5, 2020

    I’m really enjoying the design and layout of your website.
    It’s a very easy on the eyes which makes it much more
    pleasant for me to come here and visit more often. Did you hire out a developer to create your theme?
    Outstanding work!

  4. December 5, 2020

    Hello! I could have sworn I’ve been to this blog before but after browsing through some of the post I realized it’s new to me. Anyways, I’m definitely happy I found it and I’ll be book-marking and checking back frequently!

  5. December 5, 2020

    Hello very nice web site!! Man .. Excellent .. Amazing
    .. I’ll bookmark your blog and take the feeds also?
    I am glad to find a lot of useful information right here in the put
    up, we’d like work out extra techniques on this regard,
    thank you for sharing. . . . . .

  6. December 5, 2020

    Hi there! I know this is kind of off topic but I was wondering which blog platform are you using for this website?
    I’m getting fed up of WordPress because I’ve had issues
    with hackers and I’m looking at options for another
    platform. I would be awesome if you could point me
    in the direction of a good platform.

  7. December 5, 2020

    I know this if off topic but I’m looking into starting my own weblog and was wondering what all is required to get set up?

    I’m assuming having a blog like yours would cost a pretty penny?

    I’m not very web savvy so I’m not 100% sure. Any suggestions
    or advice would be greatly appreciated. Appreciate it

  8. December 5, 2020

    I just like the valuable info you provide for your articles.
    I’ll bookmark your blog and take a look at once more here regularly.

    I am relatively sure I’ll be told lots of new stuff right here!
    Good luck for the next!

Leave a Reply