<?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>Wed, 09 Jul 2008 07:16:56 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Developer Tutorials Blog: PHP array_walk(): Run an array through a function]]></title>
      <guid>http://www.phpdeveloper.org/news/10020</guid>
      <link>http://www.phpdeveloper.org/news/10020</link>
      <description><![CDATA[<p>
The Developer Tutorials blog has a <a href="http://www.developertutorials.com/blog/php/php-functions/php-array_walk-run-an-array-through-a-function-128/">quick example</a> of how to use the array_walk function to maneuver through the array of your choosing and applying a callback method to each of its elements.
</p>
<blockquote>
It’s a common sight: taking an array and running (well, walking) its elements through a particular function. Luckily, PHP provides a simple yet powerful function to overcome this: array_walk().
</blockquote>
<p>
They include an example, giving a sample "some_function" the array_walk method uses when it's called, replacing a foreach (or other type of loop). Plus you can specify an object with the callback to run it against a method inside a class too.
</p>]]></description>
      <pubDate>Wed, 23 Apr 2008 08:47:09 -0500</pubDate>
    </item>
  </channel>
</rss>
