<?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>Thu, 24 May 2012 18:46:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP.net: PHP 5.3.11 And PHP 5.4.1 Released!]]></title>
      <guid>http://www.phpdeveloper.org/news/17873</guid>
      <link>http://www.phpdeveloper.org/news/17873</link>
      <description><![CDATA[<p>
The PHP project has officially <a href="http://www.php.net/archive/2012.php#id2012-04-26-1">released the latest versions</a> of the language - PHP 5.3.11 and PHP 5.4.1:
</p>
<blockquote>
The PHP development team announces the immediate availability of PHP 5.3.11 and PHP 5.4.1. These releases focuses on improving the stability of the current PHP branches with over 60 bug fixes, some of which are security related. [...] For a full list of changes in PHP 5.3.11 and PHP 5.4.1, see the <a href="http://www.php.net/ChangeLog-5.php">ChangeLog</a>. For source downloads please visit our <a href="http://www.php.net/downloads.php">downloads page</a>, Windows binaries can be found on <a href="http://windows.php.net/download/">windows.php.net/download/</a>. All users of PHP are strongly encouraged to upgrade to PHP 5.3.11 or PHP 5.4.1.
</blockquote>
<p>
Several bugs were fixed in both releases including issues with validation of the name of the uploaded file, adding open_basedir checks to readline_write_history/readline_read_history, 
and the addition of debug info handler to DOM objects.
</p>]]></description>
      <pubDate>Thu, 26 Apr 2012 07:43:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Marek's Blog: PHP 5.4 Compatibility Coding Standard for PHP_CodeSniffer]]></title>
      <guid>http://www.phpdeveloper.org/news/17618</guid>
      <link>http://www.phpdeveloper.org/news/17618</link>
      <description><![CDATA[<p>
In the wake of the <a href="http://phpdeveloper.org/news/17614">official release of PHP 5.4</a> <i>Sebastian Marek</i> has made a <a href="http://criticallog.thornet.net/2012/03/02/php-5-4-compatibility-coding-standard-for-php_codesniffer/">quick post</a> to his blog about bringing PHP_CodeSniffer rules help bring his code up to date with this latest version.
</p>
<blockquote>
So with PHP 5.3 upgrade underway (and <a href="http://php.net/releases/5_4_0.php">PHP 5.4 out of the door now</a>!) I thought it's time to prepare for PHP 5.4 and make sure we're compatible. So by looking at Wim Godden's <a href="https://github.com/wimg/PHP53Compat_CodeSniffer">PHP53Compatibility code sniffs</a> I have created a base for PHP 5.4 sniffs that we want to use to make sure we're compatible.
</blockquote>
<p>Sniffs included in set are:</p>
<ul>
<li>PHP54Compatibility_Sniffs_PHP_BreakContinueVarSyntaxSniff
<li>PHP54Compatibility_Sniffs_PHP_DeprecatedFunctionsSniff
</ul>
<p>
You can grab this custom set of sniffs either from <a href="https://github.com/proofek/PHP54Compatibility">his github repository</a> or from <a href="http://proofek.github.com/pear">his personal PEAR channel</a> if you'd rather install it that way (alpha channel). 
</p>]]></description>
      <pubDate>Fri, 02 Mar 2012 10:52:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Davey Shafik's Blog: The Blowfish Debacle]]></title>
      <guid>http://www.phpdeveloper.org/news/17532</guid>
      <link>http://www.phpdeveloper.org/news/17532</link>
      <description><![CDATA[<p>
<i>Davey Shafik</i> has a recent post to his blog about what he calls "<a href="http://daveyshafik.com/archives/35354-the-blowfish-debacle.html">The Blowfish Debacle</a>" - the issues that came up with the PHP 5.3.7 release to upgrade the crypt_blowfish version that resulted in a larger error being introduced.
</p>
<blockquote>
This was a great security fix, solving an issue with insecure passwords due to incorrect behavior. HOWEVER, what wasn't made clear, is that this change was actually a backwards compatibility break. If you upgraded to 5.3.7+ data hashed pre-5.3.7 would no longer match data hashed post-5.3.7; this means if you use it for passwords, it will no longer match. So what's the deal here?
</blockquote>
<p>
He talks about the differences in the two methods of encryption, the newer being the "more correct" way of doing things. If you need the backwards compatibility because of previously hashed values, you can use the "$2x$" prefix instead of the usual "$2a$". He includes a snippet of code that can be used to upgrade all of your previously hashed blowfish passwords up to the new format.
</p>]]></description>
      <pubDate>Mon, 13 Feb 2012 10:02:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: PHP Vulnerability May Halt Millions of Servers]]></title>
      <guid>http://www.phpdeveloper.org/news/17382</guid>
      <link>http://www.phpdeveloper.org/news/17382</link>
      <description><![CDATA[<p>
On the PHPClasses.org blog today there's a new post looking at <a href="http://www.phpclasses.org/blog/post/171-PHP-Vulnerability-May-Halt-Millions-of-Servers.html">the security vulnerability</a> that effected not only PHP but lots of other languages making them susceptible to attack from the outside.
</p>
<blockquote>
In PHP and several other languages used to implement Web applications, arrays are used to store the values of request variables such as $_GET, $_POST, $COOKIE, etc.. IF you receive a request with a large number of request values, until recent versions PHP may run into trouble.
</blockquote>
<p>
He goes on to explain why there's an issue with the array overloading and what PHP has done in recent releases to help correct the issue - the max_input_vars setting in the php.ini. He also points out that this is not a new issue - it was originally identified back in 2003 (with a video of the original presentation). He points out that the most recent releases of the PHP language have this fix in them and, if at all possible, you should upgrade to protect your applications.
</p>]]></description>
      <pubDate>Thu, 12 Jan 2012 08:21:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: 5.3.7 upgrade warning]]></title>
      <guid>http://www.phpdeveloper.org/news/16752</guid>
      <link>http://www.phpdeveloper.org/news/16752</link>
      <description><![CDATA[<p>
In a quick note from the PHP.net site, they have a warning for those running PHP 5.3.7 (the most recent release) - there's a bug that's serious enough (with <a href="http://php.net/crypt">crypt</a>) to where upgrades should probably wait until 5.3.8.
</p>
<blockquote>
Due to unfortunate issues with 5.3.7 (see <a href="https://bugs.php.net/bug.php?id=55439">bug#55439</a>) users should wait with upgrading until 5.3.8 will be released (expected in few days).
</blockquote>
<p>
<a href="https://bugs.php.net/bug.php?id=55439">The issue</a> causes the crypt() function to only return the (MD5-only) salt it was given instead of the correctly hashed string. If you need to replace this immediately, you can pull the latest from <a href="http://snaps.php.net/">the snaps site</a> (or <a href="http://windows.php.net/snapshots/">binaries for Windows</a>). Keep an eye out for PHP 5.3.8 in the near future.
</p>]]></description>
      <pubDate>Mon, 22 Aug 2011 12:32:48 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Purcell's Blog: Symfony - PHP - Possibly Forking 1.x so Invested Companies don't Lose Millions]]></title>
      <guid>http://www.phpdeveloper.org/news/16545</guid>
      <link>http://www.phpdeveloper.org/news/16545</link>
      <description><![CDATA[<p>
<i>Mike Purcell</i> has a recent post to his blog looking at the <a href="http://melikedev.com/2011/06/30/symfony-php-possibly-forking-1-x-so-invested-companies-dont-lose-millions/">rumors of a Symfony 1.x fork</a> and some of his own thoughts on the matter.
</p>
<blockquote>
It's amazing that we are even having this type of discussion. We opted to use Symfony back in 0.x for some high traffic projects. [...] And now here we are on 1.4. Content and happy with the throughput the dev team is able to maintain. But now Symonfy says that 2.0 will be released and is completely different than 1.x? How is that fair to the companies, individuals, and hobbyists who have sunk time over the last four years ramping up to a point where we can take advantage of RAD (rapid app development) approach that Symfony provides? 
</blockquote>
<p>
He wonders if this same discussion will be being had years down the line when Symfony3 decides to come up on the horizon. Will there be such a major change in the architecture that developers, only a few years earlier making the major change to to Symfony2, will get burnt again?
</p>]]></description>
      <pubDate>Fri, 01 Jul 2011 11:05:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ruslan Yakushev's Blog: WinCache and WordPress plugin upgrade problem]]></title>
      <guid>http://www.phpdeveloper.org/news/16204</guid>
      <link>http://www.phpdeveloper.org/news/16204</link>
      <description><![CDATA[<p>
In a new post to his blog <i>Ruslan Yakushev</i> points out <a href="https://sourceforge.net/projects/wincache/files/development/">a new build of WinCache</a> (the Windows caching tool for PHP) that makes life easier for WordPress users who want it to be able to to the auto-upgrade correctly.
</p>
<blockquote>
The WinCache extension 1.1 for PHP has been released last year. Since then several customers reported <a href="http://pecl.php.net/bugs/bug.php?id=18010">a bug</a> in the extension that prevents WordPress and other PHP applications from performing automatic upgrades or their plugins. This was reported on <a href="http://wordpress.org/support/topic/wordpress-on-iis-7-plugin-update-problem?replies=33">WordPress forum</a> as well as on <a href="http://forums.iis.net/t/1169832.aspx">WinCache forum</a>. The new build of WinCache with the fix for this problem is available now at the following location: <a href="https://sourceforge.net/projects/wincache/files/development/">https://sourceforge.net/projects/wincache/files/development/</a>
</blockquote>
<p>
He asks for feedback if things still don't work - either as a comment in the <a href="http://forums.iis.net/1164.aspx">WinCache forum</a> or as a bug to the <a href="http://pecl.php.net/bugs/search.php?cmd=display&status=Open&package_name[]=WinCache">PECL database</a>. This will help them improve the support in future releases and make it even easier for those running WordPress on Windows to keep their sites running smoothly.
</p>]]></description>
      <pubDate>Fri, 15 Apr 2011 10:12:51 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Elliot Haughin's Blog: CodeIgniter 1.7.x, 'Core' 2.0, CodeIgniter Reactor, Bitbucket, Zips...]]></title>
      <guid>http://www.phpdeveloper.org/news/15909</guid>
      <link>http://www.phpdeveloper.org/news/15909</link>
      <description><![CDATA[<p>
<i>Elliot Haughin</i> has <a href="http://www.haughin.com/2011/02/14/codeigniter-1-7-x-core-2-0-codeigniter-reactor-bitbucket-zips-its-all-rather-messy/">posted some of his thoughts</a> about the huge amount of changes the <a href="http://codeigniter.com">CodeIgniter</a> framework project has been going through lately including moves to Bitbucket, the "Core" versus "Reactor" branches and how he sees it all as "rather messy".
</p>
<blockquote>
It was just a few months ago that the CodeIgniter community began to explode with a torrent of frustration that CodeIgniter simply wasn't progressing as a framework. There were also a few prominent developers considering abandoning the framework in favour of more active alternatives. [...] Before we go patting ourselves on the back, and heralding the reactor as a great success, there's a much wider question we need to look at: 'Are people actually upgrading?'.
</blockquote>
<p>
He notes that, based on his experiences, people don't seem to be upgrading to this latest release and that several people still see Reactor as a "beta" and not a viable upgrade alternative. He suggests three things he think could help - a good upgrade guide, a stop of support in libraries for non-Reactor codebases and encouragement to use mercurial more (cloning the repo).
</p>]]></description>
      <pubDate>Tue, 15 Feb 2011 12:34:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEverywhere: Moving to PHP 5.3]]></title>
      <guid>http://www.phpdeveloper.org/news/15693</guid>
      <link>http://www.phpdeveloper.org/news/15693</link>
      <description><![CDATA[<p>
On PHPEverywhere <i>John Lim</i> has <a href="http://phplens.com/phpeverywhere/?q=node/view/271">posted some of his experiences</a> in his migration up from PHP 5.2 to version 5.3 for his site, including code issues and how he upgraded.
</p>
<blockquote>
Now that PHP 5.2 is at the end of life, we are starting to migrate to PHP 5.3.
</blockquote>
<p>Things he mentions are:</p>
<ul>
<li>The deprecation of session_register
<li>The change of creating a new object by reference
<li>Other deprecated functions <a href="http://php.net/manual/en/migration53.deprecated.php">listed here</a>
<li>His commands to upgrade his Zend Server instance from 5.2 to 5.3
</ul>]]></description>
      <pubDate>Thu, 06 Jan 2011 11:57:13 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Wim Godden's Blog: Automated PHP 5.3 compatibility testing for your (old) code]]></title>
      <guid>http://www.phpdeveloper.org/news/15616</guid>
      <link>http://www.phpdeveloper.org/news/15616</link>
      <description><![CDATA[<p>
In <a href="http://techblog.wimgodden.be/2010/06/24/automated-php-5-3-compatibility-testing-for-your-old-code/">this new post</a> to his blog today, <i>Wim Godden</i> looks at how you can use the <a href="http://phpunit.de">PHPUnit</a> unit testing framework to be sure your applications are ready to move to a PHP 5.30-only world.
</p>
<blockquote>
So you or your team has built anywhere between 5 and 500 projects in PHP 4, 5.1 and 5.2 over the past 5 years. And now PHP 5.3 is there, offering a lot of very interesting features, including namespace support,  late static binding (finally !), closures, nested exceptions and a bunch more (see the <a href="http://be2.php.net/manual/en/migration53.new-features.php">new feature list</a>). So naturally, you'd like to upgrade. But doing so might break some old code. 
</blockquote>
<p>
He suggests a few different options - just run your unit tests and hope for the best, test the application's code directly or, his preference, run compatibility tests with the help of <a href="http://pear.php.net/package/PHP_CodeSniffer">PHP_CodeSniffer</a> and <a href="http://github.com/wimg/PHP53Compat_CodeSniffer/downloads">this new sniff</a> he created. The sniff finds things like deprecated functions hanging around from pre-5.3 times as a part of a subset that the code sniffer can easily find.
</p>]]></description>
      <pubDate>Wed, 22 Dec 2010 09:02:10 -0600</pubDate>
    </item>
  </channel>
</rss>

