<?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>Sun, 12 Feb 2012 20:42:45 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[KingFoo Blog: PHP 5.4 - What's new?]]></title>
      <guid>http://www.phpdeveloper.org/news/17437</guid>
      <link>http://www.phpdeveloper.org/news/17437</link>
      <description><![CDATA[<p>
On the KingFoo blog today there's an excellent look at everything new <a href="http://www.king-foo.be/2012/01/php-5-4-whats-new/">coming up in PHP 5.4</a>, the next version of PHP set to be released in early February.
</p>
<blockquote>
PHP 5.4 will be stable soon.
In this post I'll try to give you an overview and examples of the new PHP 5.4 features. If you want to try out PHP 5.4 (which is currently in RC3), it has to be installed first. I suggest that you try this out on a virtual machine so you don't break your current PHP version.
</blockquote>
<p>Improvements on the list include:</p>
<ul>
<li>Improved Session Extension
<li>Built-in webserver
<li>Traits
<li>Array dereferencing
<li>Method calls through arrays
<li>Binary notation for integers
<li>Instantiate a class without running constructor
<li>Improved JSON extension
<li>Improved CURL extension
</ul>
<p>
And this is just a start - they detail each of the improvements and provide code where needed to illustrate the update. They also link over to the PHP.net manual (or PHP bug tracker) for more information on the new feature/change.
</p>]]></description>
      <pubDate>Tue, 24 Jan 2012 08:50:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.3.9 Released!]]></title>
      <guid>http://www.phpdeveloper.org/news/17375</guid>
      <link>http://www.phpdeveloper.org/news/17375</link>
      <description><![CDATA[<p>
The PHP development group has officially announced the <a href="http://www.php.net/archive/2012.php#id2012-01-11-1">release of PHP 5.3.9</a>, the latest in the 5.3.x series.
</p>
<blockquote>
The PHP development team would like to announce the immediate availability of PHP 5.3.9. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.
</blockquote>
<p>
Bugfixes and updates in this release include the max_input_vars directive, an autoloading issue with <a href="http://php.net/is_a">is_a</a> and changes to the FPM SAPI module. You can see the full list of changes <a href="http://www.php.net/ChangeLog-5.php#5.3.9">here</a> or just go over and download this latest release and get to installing - <a href="http://www.php.net/downloads.php">source</a>, <a href="http://windows.php.net/download/">Windows binaries</a>.
</p>]]></description>
      <pubDate>Wed, 11 Jan 2012 08:10:54 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Paul Jones' Blog: The Aura Project: Now For PHP 5.4, With Beta Releases]]></title>
      <guid>http://www.phpdeveloper.org/news/17358</guid>
      <link>http://www.phpdeveloper.org/news/17358</link>
      <description><![CDATA[<p>
As <i>Paul Jones</i> mentions in <a href="http://paul-m-jones.com/archives/2219">this new post to his blog</a> the Aura project, a <a href="http://auraphp.github.com/">PHP framework, originally targeted at PHP 5.3</a> has changed its direction a bit - they've shifted from a focus on PHP 5.3 to the upcoming PHP 5.4 release.
</p>
<blockquote>
When I initially announced the <a href="http://auraphp.github.com/">Aura project</a>, it was targeted at PHP 5.3. With a stable release of PHP 5.4 impending, we have moved the target to PHP 5.4. In addition, we have made 1.0.0-beta1 releases of almost all the component packages. (See an earlier announcement from <a href="http://www.harikt.com/aura-project-moving-to-php54">Hari KT</a>.)
</blockquote>
<p>
The components include: <a href="https://github.com/auraphp/Aura.Di">a dependency injection container</a>, an <a href="https://github.com/auraphp/Aura.Autoload">autoloader</a> and <a href="https://github.com/auraphp/Aura.View">a view system</a> that are all self-contained with no other dependencies. You can find the complete code for these containers (and one for combining them all into a single system) on <a href="http://auraphp.github.com/">the project's github page</a>.
</p>]]></description>
      <pubDate>Fri, 06 Jan 2012 10:03:10 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Sharon Levy's Blog: PHP Version]]></title>
      <guid>http://www.phpdeveloper.org/news/17353</guid>
      <link>http://www.phpdeveloper.org/news/17353</link>
      <description><![CDATA[<p>
<i>Sharon Levy</i> has a new post to her blog showing a trick she's come up with to show the PHP version information (usually found in the <a href="http://php.net/phpinfo">phpinfo</a>) <a href="http://slevy1.wordpress.com/2011/12/12/php-version/#more-2225">even when it's disabled</a>.
</p>
<blockquote>
Sometimes the most crucial, basic piece of information can seem so hard to find. For example, suppose you wanted to find out what version of PHP your remote webhost provides to shared hosting users? What would you do? [...] For development purposes it can be helpful having phpinfo() available, but on a live shared host, you may discover as I did recently that it is no longer available; your host may have disabled it.
</blockquote>
<p>
She includes three other ways you can use to get the version of PHP you're working with:
</p>
<ul>
<li>If you have command line access, running "php -v"
<li>Using the <a href="http://php.net/phpversion">phpversion</a> function (or PHP_VERSION constant)
<li>Appending a certain value to the URL (only works in some cases)
</ul>]]></description>
      <pubDate>Thu, 05 Jan 2012 13:20:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mark Story's Blog: New errors in PHP 5.4]]></title>
      <guid>http://www.phpdeveloper.org/news/17324</guid>
      <link>http://www.phpdeveloper.org/news/17324</link>
      <description><![CDATA[<p>
In <a href="http://mark-story.com/posts/view/new-errors-in-php-5-4">this quick new post</a> to his blog <i>Mark Story</i> talks about two new errors he ran across when upgrading his installation to PHP 5.4, both showing up under E_ALL.
</p>
<blockquote>
I've been running the PHP5.4 RC builds for the last few months, and there are some interesting changes in the upcoming PHP release. On top of all the great new features coming in PHP5.4. After updating to PHP5.4-RC4, a few things that used to not trigger errors and silently do the wrong thing, now trigger notices or warnings.
</blockquote>
<p>
The two he mentions deal with a new warning on illegal string offsets and the other about string offsets ("Notice: String offset cast occurred"). You can find out about more changes in the PHP 5.4 series in <a href="http://php.net/releases/">the various Changelogs</a> for each Release Candidate and beta release.
</p>]]></description>
      <pubDate>Fri, 30 Dec 2011 08:30:45 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christer Edvartsen's Blog: Running Multiple Versions of PHPUnit]]></title>
      <guid>http://www.phpdeveloper.org/news/17213</guid>
      <link>http://www.phpdeveloper.org/news/17213</link>
      <description><![CDATA[<p>
<i>Christer Edvartsen</i> has a recent post showing you how to <a href="http://tech.vg.no/2011/11/29/running-multiple-versions-of-phpunit/">get multiple PHPUnit versions installed</a> and working on your application. There's been some issues lately due to some updates in recent PHPUnit versions:
</p>
<blockquote>
The latest version of <a href="https://github.com/sebastianbergmann/phpunit/">PHPUnit</a> (3.6.4 at the time of this writing) does not play well with the <a href="http://framework.zend.com/">Zend Framework</a> extensions (<a href="http://framework.zend.com/manual/en/zend.test.phpunit.html">Zend_Test_PHPUnit</a>). After asking <a href="http://mwop.net/blog">Matthew Weier O'Phinney</a> about this he answered that they had <a href="https://twitter.com/#!/weierophinney/status/141141184411209729">standardized on PHPUnit-3.4 for ZF1</a>. Having just upgraded to the latest version of PHPUnit on our servers we were no longer able to test our Zend Framework applications. One option was to downgrade PHPUnit, but since we were already using some of the new features this was not going to happen.
</blockquote>
<p>
He method uses the "installroot" option that can be passed in to the PHPUnit installation process to point it to someplace other than the default PEAR install location. A small change is needed to the "phpunit" executable to have it correctly set the include path. Then it's just a matter of making a symlink to your "/usr/bin" directory pointing to the specific version.
</p>]]></description>
      <pubDate>Mon, 05 Dec 2011 12:26:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.4 RC2 released]]></title>
      <guid>http://www.phpdeveloper.org/news/17190</guid>
      <link>http://www.phpdeveloper.org/news/17190</link>
      <description><![CDATA[<p>
The PHP.net site has officially announced the availability of the latest Release Candidate for the PHP 5.4.x series - <a href="http://www.php.net/index.php#id2011-11-29-1">PHP 5.4 RC2</a>:
</p>
<blockquote>
The PHP development team is proud to announce the second <a href="http://qa.php.net/">release candidate</a> of PHP 5.4. PHP 5.4 includes new language features and removes several legacy (deprecated) behaviours. Windows binaries can be downloaded from the <a href="http://windows.php.net/qa/">Windows QA site</a>. THIS IS A RELEASE CANDIDATE - DO NOT USE IT IN PRODUCTION!. This is the second release candidate. The release candidate phase is intended as a period of bug fixing prior to the stable release. No new features should be included before the final version of PHP 5.4.0.
</blockquote>
<p>
Fixes in this new version include updates to the built-in web server, PHP-FPM no longer being marked as experimental and changes to the Zend Engine, Core and various extensions. See the <a href="https://svn.php.net/repository/php/php-src/tags/php_5_4_0RC2/NEWS">NEWS file</a> for complete details. You can download this latest release <a href="http://www.php.net/downloads.php">from the downloads page</a> (and <a href="http://windows.php.net/qa/">here for Windows users</a>).
</p>]]></description>
      <pubDate>Wed, 30 Nov 2011 07:22:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Derick Rethans' Blog: Multiple PHP versions set-up]]></title>
      <guid>http://www.phpdeveloper.org/news/17092</guid>
      <link>http://www.phpdeveloper.org/news/17092</link>
      <description><![CDATA[<p>
<i>Derick Rethans</i> has a new post today looking at a method for <a href="http://derickrethans.nl/multiple-php-version-setup.html">setting up multiple PHP versions</a> on the same machine and switch between them with a little help from some simple bash scripts.
</p>
<blockquote>
For many of my projects (both <a href="http://derickrethans.nl/projects.html">hobby</a> and <a href="http://derickrethans.nl/who.html#derickrethansltd">commercial</a>) I need to support many different PHP configurations. Not only just different PHP versions, but also debug builds, ZTS builds and 32-bit builds. In order to be able to test and build extensions against all those different PHP configurations I have adopted a simple method that I'm sharing with you here.
</blockquote>
<p>
Using <a href="http://derickrethans.nl/files/php-build.sh.txt">this script</a> he can tell his system to pull the latest version of any release from SVN and try to compile it. The trick is putting each of them into a different directory under /usr/local. He uses another small shell function (with a function called "pe()") that sets up the pathing to the right release, complete with its own locations for PEAR/PECL and a php.ini.
</p>]]></description>
      <pubDate>Mon, 07 Nov 2011 09:14:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP version control to move to git]]></title>
      <guid>http://www.phpdeveloper.org/news/16830</guid>
      <link>http://www.phpdeveloper.org/news/16830</link>
      <description><![CDATA[<p>
A little while back, the PHP development group posted a survey of developers asking them which version control system they'd like to see the PHP project use. By an overwhelming margin, <a href="http://news.php.net/php.internals/55293">git has won</a> and things are already in motion to move parts of the project away from subversion.
<p>
In his mailing list post, <i>David Soria Parra</i> explains:
</p>
<blockquote>
After 2 weeks of voting and discussion, I closed the votes today. The results are fairly straightforward. Most of the users want to move to a decentralized version control system. [...] I don't want to make a difference of who voted for what. I think the results are overwhelming
in favor of Git.
</blockquote>
<p>
He'll be working on the spec to make the move for the PHP source over to git and is planning a cut over some time in December. Stay tuned to the <a href="http://news.php.net/php.internals">php.internals</a> mailing list for more details about the move as they come up. 
</p>]]></description>
      <pubDate>Thu, 08 Sep 2011 06:27:08 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Christian Weiske's Blog: phpfarm moved to SourceForge]]></title>
      <guid>http://www.phpdeveloper.org/news/16819</guid>
      <link>http://www.phpdeveloper.org/news/16819</link>
      <description><![CDATA[<p>
<i>Christian Weiske</i> has a new post about a move the <a href="https://sourceforge.net/p/phpfarm">phpfarm</a> tool has made <a href="http://cweiske.de/tagebuch/phpfarm-on-sf.htm">over to SourceForge</a> for <a href="https://sourceforge.net/p/phpfarm">its project page</a>. phpfarm makes it simple to switch between multiple versions of PHP on the same server to make debugging and development a much simpler task (especially if you're not in a homogeneous environment).
</p>
<blockquote>
phpfarm, the tool that lets you install multiple PHP versions beside each other, finally got a proper project page on SourceForge. By moving from svn.php.net to SF, phpfarm got a nice <a href="https://sourceforge.net/p/phpfarm/code/">git repository</a>, a <a href="https://sourceforge.net/p/phpfarm/wiki/">wiki</a> and a <a href="https://sourceforge.net/p/phpfarm/tickets/">ticketing system</a>. It also has a <a href="http://www.phing.info/">Phing</a> build file now which generates and uploads <a href="https://sourceforge.net/projects/phpfarm/files/phpfarm/">release files</a>, so people don't have to install git to get phpfarm.
</blockquote>
<p>
<a href="http://cweiske.de/tagebuch/phpfarm-on-sf.htm">His post</a> also includes some of the changes made in the latest release (0.1.0) and how you can clone the code from the SF.net repository. 
</p>]]></description>
      <pubDate>Tue, 06 Sep 2011 10:10:28 -0500</pubDate>
    </item>
  </channel>
</rss>

