A lot of people complain about "problems" with PHP as a language (function name inconsistencies, register_globals, and much more). But PHP also have a lot of awesome features; at least two of them are in my opinion largely underused: Iterators and Streams. You won't learn how to use them in this post, but with a simple example, I hope you will want to learn more about them. Some weeks ago, I have