<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 04:07:46 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Fabien Potencier's Blog: PHP Iterators and Streams are awesome]]></title>
      <guid>http://www.phpdeveloper.org/news/14560</guid>
      <link>http://www.phpdeveloper.org/news/14560</link>
      <description><![CDATA[<p>
<i>Fabien Potencier</i> has <a href="http://fabien.potencier.org/article/44/php-iterators-and-streams-are-awesome">written up a new post</a> about two features of PHP he thinks are underused and very powerful - iterators and streams.
</p>
<blockquote>
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.
</blockquote>
<p>
He gives an example of a recent update he made to the sfFinder class for <a href="http://symfony-project.org">Symfony</a> to use iterators instead of the current implementation. With the help of streams, making it translate its searching skills from the local machine out to an Amazon S3 instance was a relatively simple change to the stream's location.
</p>]]></description>
      <pubDate>Wed, 26 May 2010 10:18:55 -0500</pubDate>
    </item>
  </channel>
</rss>
