<?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, 22 May 2013 19:01:36 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint PHP Blog: Lexical scope to appear in PHP?]]></title>
      <guid>http://www.phpdeveloper.org/news/9309</guid>
      <link>http://www.phpdeveloper.org/news/9309</link>
      <description><![CDATA[<>
In <a href="http://www.sitepoint.com/blogs/2007/12/23/lexical-scope-to-appear-in-php/">this new post</a> to the SitePoint PHP blog, <i>Troels Knak-Nielsen</i> talks about some of the advancements (and diagreements) that have happened around adding lexical scope to the create_function functionality.
</p>
<blockquote>
<p>
The main argument against approving the patch, seems to be, that one would expect static scoping rules to apply to the anonymous function. After all, this is the case in similar languages, which support anonymous functions. One could only assume, that changing PHP to support this, would be a major undertaking.
</p>
<p>
One would be wrong, it seems.
</p>
</blockquote>
<p>
<a href="http://news.php.net/php.internals/34216">A patch</a> has been made to add the functionality (from <i>Christian Seller</i>) adding a new keyword, lexical, to make it all work.
</p>]]></description>
      <pubDate>Tue, 25 Dec 2007 09:46:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[International PHP Magazine: Poll Question: Why PHP Sucks]]></title>
      <guid>http://www.phpdeveloper.org/news/6745</guid>
      <link>http://www.phpdeveloper.org/news/6745</link>
      <description><![CDATA[<p>
<a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26576,nodeid,5.html">The results</a> of the latest International PHP Magazine are in and posted today on their site. The question this time was asking developers and visitors alike what they think sucks about PHP.
</p>
<p>
Choices included "No lexical scoping", "PEAR", and "Worst Configuration System" but one climbed to the top far above the others - "No namespacing". Trailing that at a distant second were two, getting the same number of votes - "No lexical scoping" and "Can't afford a vowel" (hmm, interesting). 
</p>
<p>
Up for this week is a <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,26577,nodeid,5.html">new poll</a> that asks those out there that have used the Symfony framework to cast their votes about what they think is the best feature the project has included. Check it out and cast your vote today...
</p>]]></description>
      <pubDate>Tue, 21 Nov 2006 08:57:00 -0600</pubDate>
    </item>
  </channel>
</rss>
