<?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>Mon, 21 May 2012 10:09:11 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Content With Style: buggy behaviour of parent:: in PHP 5.3.3]]></title>
      <guid>http://www.phpdeveloper.org/news/15600</guid>
      <link>http://www.phpdeveloper.org/news/15600</link>
      <description><![CDATA[<p>
On the Content with Style blog today they take a look at some <a href="http://www.contentwithstyle.co.uk/content/behaviour-of-parent-in-php-533">buggy functionality with parent::</a> they've found in the latest version of PHP, 5.3.3.
</p>
<blockquote>
So, this app I hadn't been looking at in a few months did not work at all. I traced the bug down to a method that itself called a parent method. The parent only contains __call and __callStatic methods, and for some reason __callStatic was called, although the class it was called from was an object instance.
</blockquote>
<p>
After using some sample code from the PHP manual, they spotted how things truly worked - the call is always sent to __callStatic when called from the extending class but not when called directly. Apparently they <a href="http://www.serverphorums.com/read.php?7,220473">aren't the only ones</a> that noticed <a href="http://bugs.php.net/51176">the bug</a> but noted that it was <a href="http://bugs.php.net/52713">removed in PHP 5.3.4</a> to fix the issue.
</p>]]></description>
      <pubDate>Mon, 20 Dec 2010 09:43:56 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gergely Hodicska's Blog: What is new in PHP 5.3 - Part 4]]></title>
      <guid>http://www.phpdeveloper.org/news/9078</guid>
      <link>http://www.phpdeveloper.org/news/9078</link>
      <description><![CDATA[<p>
<i>Gergely Hodicska</i> has posted <a href="http://blog.felho.hu/what-is-new-in-php-53-part-4-__callstatic-openid-support-userini-xslt-profiling-and-more.html">part four</a> of his "what's new in PHP 5.3" series - a sort of "wrapup" for some of the smaller features that have been added. Among them are:
</p>
<ul>
<li>__callStatic
<li>OpenID support
<li>user.ini user defined ini functionality
<li>dynamic static calls
<li>XSLT profiling
</ul>
<p>
...and many more. Check out <a href="http://blog.felho.hu/what-is-new-in-php-53-part-4-__callstatic-openid-support-userini-xslt-profiling-and-more.html">the post</a> for more to add to the list and for some brief examples of the ones already mentioned.
</p>]]></description>
      <pubDate>Tue, 20 Nov 2007 09:38:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gergely Hodicska's Blog: What's new in PHP 5.3 - part 1: namespaces]]></title>
      <guid>http://www.phpdeveloper.org/news/9040</guid>
      <link>http://www.phpdeveloper.org/news/9040</link>
      <description><![CDATA[<p>
<i>Gergely Hodicska</i> has started a mini-series of posts centering about what's going to be coming in the next major release of PHP, version 5.3. The <a href="http://blog.felho.hu/whats-new-in-php-53-part-1-namespaces.html">first article</a> has been posted today focusing on one of the more popular topics - namespaces.
</p>
<blockquote>
In my previous post I mentioned that PHP 5.3 will be released in early 2008 so I think it's just in time to talk about the features of this version. [...] The big gun features are namespaces, late static binding and mysqlnd, but there are other interesting improvements, for example __callStatic, dynamic static calls. In this part of this series we are going to analyze namespaces in detail.
</blockquote>
<p>
Included in the post are a "before" and "after" example of namspacing in a PHP application, code examples of namespaces in action, simple porting of current PHP 5.2 applications up to 5.3 and working with __autoload and Reflection.
</p>]]></description>
      <pubDate>Wed, 14 Nov 2007 12:50:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Johannes Schlüter's Blog: PHP 5.3 Update]]></title>
      <guid>http://www.phpdeveloper.org/news/8832</guid>
      <link>http://www.phpdeveloper.org/news/8832</link>
      <description><![CDATA[<p>
<i>Johannes Schlüter</i>, the new release manager for the PHP 5.3 series, has <a href="http://schlueters.de/blog/archives/59-PHP-5.3-update.html">posted an update</a> on the progress of the release including a brief list of the new things included in the update.
</p>
<blockquote>
Since a few hours we're having, thanks to Edin, <a href="http://snaps.php.net/">Windows snapshots</a> for the upcoming PHP 5.3 release. In combination with the latest sources <a href="http://php.net/anoncvs.php">from CVS</a> everybody should be able to test the current state.
</blockquote>
<p>
Included in his <a href="http://schlueters.de/blog/archives/59-PHP-5.3-update.html">list of updates</a> are things like: namespaces, late static binding, the __callStatic magic method and the mysql native driver (mysqlnd). He also recommends that, if you're currently running something in the PHP 5.2.x series, you update to the latest on that before making the jump to PHP 5.3 when it comes out.
</p>]]></description>
      <pubDate>Sat, 13 Oct 2007 13:30:00 -0500</pubDate>
    </item>
  </channel>
</rss>

