<?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>Fri, 09 Jan 2009 22:12:48 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mark Brady's Blog: Closures in PHP 5.3]]></title>
      <guid>http://www.phpdeveloper.org/news/11123</guid>
      <link>http://www.phpdeveloper.org/news/11123</link>
      <description><![CDATA[<p>
<i>Mark Brady</i> has a <a href="http://spinningtheweb.blogspot.com/2008/09/closures-in-php-53.html">recent post</a> he's worked up that looks at a feature in the upcoming PHP 5.3 version - closures.
</p>
<blockquote>
According to object-oriented programming expert <a href="http://martinfowler.com/bliki/Closure.html">Martin Fowler</a>, closures are defined as a block of code that can be passed to a function. [...] PHP's upcoming syntax for closures is shaping up to be comparable to the C# 2.0 implementation.
</blockquote>
<p>
He includes two code examples to compare the two language's methods - one for C# and the other for PHP - that divides the input by a denominator and returns a true or false depending on the result. For more information on closures, see <a href="http://wiki.php.net/rfc/closures">this proposal</a> on the PHP.net wiki</a>.
</p>]]></description>
      <pubDate>Wed, 01 Oct 2008 08:47:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.3 alpha 1 Released]]></title>
      <guid>http://www.phpdeveloper.org/news/10735</guid>
      <link>http://www.phpdeveloper.org/news/10735</link>
      <description><![CDATA[<p>
As <a href="http://www.php.net/index.php#id2008-08-01-1">announced on the PHP.net site</a> today, the first alpha version of the much-anticipated PHP 5.3 has been released - <a href="http://downloads.php.net/johannes/">PHP 5.3 alpha 1</a>.
</p>
<blockquote>
The PHP development team is proud to announce the <a href="http://downloads.php.net/johannes/">first alpha release</a> (Windows binaries will appear in the next few days) of the upcoming minor version update of PHP. The new version PHP 5.3 is expected to improve stability and performance as well as add new language syntax and extensions. Several new features have already been documented in the <a href="http://php.net/docs.php">official documentation</a>, others are listed on the <a href="http://wiki.php.net/doc/scratchpad/upgrade/53">wiki</a> in preparation of getting documented. Please also review the <a href="http://php.net/php5news">NEWS</a> file.
</blockquote>
<p>
Among the list of new features/improvements are things like namespaces, late static binding, lambda functions, closures, support for mysqlnd and removal of support for pre-Windows 2000 systems. For more information on when the full stable version will his the web, check out <a href="http://wiki.php.net/todo/php53">the release plan</a>.
</p>]]></description>
      <pubDate>Fri, 01 Aug 2008 07:58:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[LivePipe Blog: What PHP6 Actually Needs]]></title>
      <guid>http://www.phpdeveloper.org/news/7846</guid>
      <link>http://www.phpdeveloper.org/news/7846</link>
      <description><![CDATA[<p>
On the LivePipe blog, there's <a href="http://livepipe.net/blog/programming/what_php6_actually_needs">a whishlist</a> that <i>Ryan</i> has posted for some of the things he'd like to see in PHP6.
</p>
<p>His list consists of:</p>
<ul>
<li>Closures
<li>{ } is the new array()
<li>Parameter Collection in Functions
<li>Late Static Binding
<li>Backwards Compatibility
</ul>
<p>
Each is <a href="http://livepipe.net/blog/programming/what_php6_actually_needs">explained</a>, some with code to illustrate.
</p>]]></description>
      <pubDate>Tue, 15 May 2007 10:13:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Dikini.net: Some ways to use saved state with closures in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/4731</guid>
      <link>http://www.phpdeveloper.org/news/4731</link>
      <description><![CDATA[On dikini.net today, there's <a href="http://dikini.net/25.01.2006/some_ways_to_use_saved_state_with_closures_in_php">a new post</a> that talks about a method of implementing saved state in PHP, and how to couple it with closures.
<p>
<quote>
<i>
In a <a href="http://dikini.net/24.01.2006/emulating_closures_in_php">previous short post</a> I describe a way to emulate closures in php. Using that technique execution environment, otherwise known as a call stack can be saved for future use. This can be put to good use. A couple of patterns or programming techniques could be useful in practice.
<p>
A closure represents a state => implemenation of a state pattern. This is a bit rich. Usually in OO programming the state pattern is implemented by encapsulating different protocols, for denoted states. This is simple to implement by substituting your protocol specification with a different name.
</i>
</quote>
<p>
His <a href="http://dikini.net/25.01.2006/some_ways_to_use_saved_state_with_closures_in_php">example</a> starts off with the Drupal hooks, using the State pattern to  create a method of tracking "where we are" via PHP. ]]></description>
      <pubDate>Wed, 25 Jan 2006 12:43:20 -0600</pubDate>
    </item>
  </channel>
</rss>
