<?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 21:29:17 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP.net: PHP 5.3.8 Released!]]></title>
      <guid>http://www.phpdeveloper.org/news/16761</guid>
      <link>http://www.phpdeveloper.org/news/16761</link>
      <description><![CDATA[<p>
On PHP.net they've posted <a href="http://www.php.net/archive/2011.php#id2011-08-23-1">the official announcement</a> about the release of PHP 5.3.8, an release following 5.3.7 to fix some issues with the <a href="http://php.net/crypt">crypt</a> functionality.
</p>
<blockquote>
The PHP development team would like to announce the immediate availability of PHP 5.3.8. This release fixes two issues introduced in the PHP 5.3.7 release: Fixed bug #55439 (crypt() returns only the salt for MD5), reverted a change in timeout handling restoring PHP 5.3.6 behavior, which caused mysqlnd SSL connections to hang (Bug #55283). All PHP users should note that the PHP 5.2 series is NOT supported anymore. All users are strongly encouraged to upgrade to PHP 5.3.8.
</blockquote>
<p>
As always you can download this latest release from <a href="http://us3.php.net/downloads.php">the downloads page</a> (Windows binaries <a href="http://windows.php.net">here</a>). This upgrade is <b>highly</b> recommended if you were running 5.3.7.
</p>]]></description>
      <pubDate>Tue, 23 Aug 2011 11:04:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Andrew Johnstone's Blog: Memcached multigets - ubuntu vs debian]]></title>
      <guid>http://www.phpdeveloper.org/news/16467</guid>
      <link>http://www.phpdeveloper.org/news/16467</link>
      <description><![CDATA[<p>
<i>Andrew Johnstone</i> came across an interesting problem when he tried to use memcached multigets with a large number of keys - it was <a href="http://ajohnstone.com/achives/memcached-multigets-ubuntu-vs-debian/">throwing failures</a>, but only when he tried it on Ubuntu.
</p>
<blockquote>
I Spent a little while yesterday investigating why memcached causes problems with multigets returning results and ended up comparing debian vs ubuntu. [...] A larger number of keys than 200 causes memcached to fail to return valid responses, additionally the key length greatly varies the number items you can pull back within a single multiget on Ubuntu, Debian implementation of memcached is able to handle all requests regardless of key length size.
</blockquote>
<p>
He includes the code for his brief test and the output of the test runs on both Ubuntu and Debian systems. They clearly show the failures on the Ubunut side, with it throwing errors about "memcached_oi_read" and a zero length value returned to recv().
</p>]]></description>
      <pubDate>Tue, 14 Jun 2011 12:07:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: PHP Sadness - "Things in PHP that Make Me Sad"]]></title>
      <guid>http://www.phpdeveloper.org/news/16406</guid>
      <link>http://www.phpdeveloper.org/news/16406</link>
      <description><![CDATA[<p>
An interesting site has popped up in the PHP community during the last week - the <a href="http://www.phpsadness.com/">PHP Sadness site</a>, a listing of things that the author says "make him sad" about the PHP language.
</p>
<blockquote>
These are things in PHP which make me sad. They are real, objective issues which I have personally encountered in my normal day-to-day activites. Nothing on this site should be taken to be the view of my employer or is related to my employer in any way.
</blockquote>
<p>The page is split up into several different sections including:</p>
<ul>
<li>Lexer/Parser Issues
<li>Inconsistency
<li>Anti-functional Design
<li>Arbitrary Restrictions
</ul>
<p>
Each of the for most of the things on the list, he's linked to a page showing some example code of the complaint and how significant of an impact it could have on your code. He's also set up <a href="http://www.phpsadness.com/discuss">a discussion board</a> for those that want to talk about these issues further. 
</p>]]></description>
      <pubDate>Tue, 31 May 2011 11:57:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Tom Rawcliffe's Blog: session_start() blocking in php]]></title>
      <guid>http://www.phpdeveloper.org/news/16382</guid>
      <link>http://www.phpdeveloper.org/news/16382</link>
      <description><![CDATA[<p>
<i>Tom Rawcliffe</i> has a new post to his blog talking about an issue he found when trying to optimize a site for his company's systems - a <a href="http://tomrawcliffe.co.uk/blog/2011/04/session_start-blocking-in-php/">problem with the blocking sessions caused</a> when the pages were loaded.
</p>
<blockquote>
Now I didn't know it but is seems that php's session handling is blocking on a per request basis. Kinda makes sense if you think about it, that if two requests simultaneously try and change a session variable then you would get constancy issues. So php handles this by making session_start() a blocking action and will wait for any other request to either finish or close the session using session_write_close().
</blockquote>
<p>
The only reliable fix he found for the issue was to only selectively use the session in certain circumstances (or on certain pages) and closing it out when you were done with it.
</p>]]></description>
      <pubDate>Wed, 25 May 2011 10:46:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[James Cohen's Blog: How to Avoid Character Encoding Problems in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16246</guid>
      <link>http://www.phpdeveloper.org/news/16246</link>
      <description><![CDATA[<p>
<i>James Cohen</i> has a recent post to his blog looking at a way you can <a href="http://webmonkeyuk.wordpress.com/2011/04/23/how-to-avoid-character-encoding-problems-in-php/">avoid some of the character encoding problems</a> in PHP that can come with working with multiple character sets.
</p>
<blockquote>
Character sets can be confusing at the best of times. This post aims to explain the potential problems and suggest solutions. Although this is applied to PHP and a typical LAMP stack you can apply the same principles to any multi-tier stack.
</blockquote>
<p>
He includes a "boring history" session (and recommends skipping if you just want the good stuff) that talks a bit about character sets and their history in computer system handling. All that said, he recommends using UTF-8 to ease your character encoding woes. He talks about configuring your editor to support it, making sure your browsers understand it and setting up your MySQL database connection to use it.
</p>]]></description>
      <pubDate>Mon, 25 Apr 2011 14:13:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Basic's Blog: A hack for Zend Framework's translated route segments]]></title>
      <guid>http://www.phpdeveloper.org/news/16203</guid>
      <link>http://www.phpdeveloper.org/news/16203</link>
      <description><![CDATA[<p>
<i>Robert Basic</i> has put together a new post to his blog about <a href="http://robertbasic.com/blog/zend-frameworks-translated-route-segments-hack/">a hack he's found</a> for the <a href="http://framework.zend.com">Zend Framework</a> translated route segments when a "gotcha" popped up when he was trying to use them in a  multi-language website. 
</p>
<blockquote>
The web site's default locale, language, is English. If the user has no locale in the session/cookie, she, or he, will get the English version of the web site. [...] But! If the user's first visit is on the http://example.com/vesti URL ("vesti" is "news" in Serbian), the router can't route that because it depends on the locale and the default locale is English and not Serbian, thus directing the user to the 404 page.
</blockquote>
<p>
To get around this issue he created a front controller plugin that fires in the postDispatch hook to change the locale manually if the current request's isn't found to be English. It then redirects the user to the correct location for the new language and things proceed normally.
</p>]]></description>
      <pubDate>Fri, 15 Apr 2011 09:17:40 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Github to Jira Bug Migration Script]]></title>
      <guid>http://www.phpdeveloper.org/news/16019</guid>
      <link>http://www.phpdeveloper.org/news/16019</link>
      <description><![CDATA[<p>
As part of a migration the <a href="http://github.com/joindin/joind.in">Joind.in project</a> made to track their bugs on a hosted Jira instance instead of the Issue Tracker on Github, <i>Lorna Mitchell</i>, one of the leads on the project has written up an import script she used to move current issues. The code is <a href="http://www.lornajane.net/posts/2011/Github-To-Jira-Bug-Migration-Script">in her latest post</a>.
</p>
<blockquote>
I migrated only our open issues, and comments (and the comments ended up a bit weirdly formatted on the other end but this was the best they could do). It was nothing pretty or clever but in case it's useful to someone else.
</blockquote>
<p>
The script connects to the github API and pulls down the information for the open issues including their titles, user and body of the issue. This is then used to make another connection for each to fetch their comments. The whole thing is dumped out to a CSV file that can be easily imported by the Jira team.
</p>]]></description>
      <pubDate>Wed, 09 Mar 2011 10:18:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jim Plush's Blog: How to Auto Create Issues in Jira From PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/15863</guid>
      <link>http://www.phpdeveloper.org/news/15863</link>
      <description><![CDATA[<p>
<i>Jim Plush</i> has a new post to his blog today that points out a bit of code you can use to <a href="http://jimplush.com/blog/article/176/How-to-Auto-Create-Issues-in-Jira-From-PHP">auto-create issues in Jira</a> from your PHP application.
</p>
<blockquote>
We use Jira at Gravity for tracking issues and bugs. Since I'm not always on VPN or have access to our network managing my todos has been cumbersome. I've tried every Todo app out there and always fail to use them for more than 2 days. I finally saw a great article on just using a simple Todo.txt file in your Dropbox folder and working from that. It's been a dream and working out great. 
</blockquote>
<p>
His tool lets him use the Todo list example to push its contents out to the PHP script that connects to the Jira instance and make a new issue. The code is included <a href="http://jimplush.com/blog/article/176/How-to-Auto-Create-Issues-in-Jira-From-PHP">in the post</a>, ready for cut-and-pasting.
</p>]]></description>
      <pubDate>Mon, 07 Feb 2011 08:06:52 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP.net: PHP 5.3.5 and 5.2.17 Released!]]></title>
      <guid>http://www.phpdeveloper.org/news/15700</guid>
      <link>http://www.phpdeveloper.org/news/15700</link>
      <description><![CDATA[<p>
On the <a href="http://php.net">main PHP site</a> there's <a href="http://www.php.net/archive/2011.php#id2011-01-06-1">a new announcement</a> about a critical update in a new version to both the PHP 5.2.x and 5.3.x series of releases to correct a problem that could cause a hang or crash from user input - 5.3.5 and 5.2.17.
</p>
<blockquote>
The PHP development team would like to announce the immediate availability of PHP <a href="http://www.php.net/releases/5_3_5.php">5.3.5</a> and <a href="http://www.php.net/releases/5_2_17.php">5.2.17</a>. This release resolves a critical issue, reported as PHP bug #53632 and CVE-2010-4645, where conversions from string to double might cause the PHP interpreter to hang on systems using x87 FPU registers. The problem is known to only affect x86 32-bit PHP processes, regardless of whether the system hosting PHP is 32-bit or 64-bit. You can test whether your system is affected by running <a href="http://www.php.net/distributions/test_bug53632.txt">this script</a> from the command line.
</blockquote>
<p>
All users are strongly encouraged to update their releases. While the problem only happens in certain circumstances, it can still be a huge problem since the data comes directly from the user. For more information about the issue see <a href="http://phpdeveloper.org/news/15697">this post</a>.
</p>]]></description>
      <pubDate>Fri, 07 Jan 2011 07:10:29 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mayflower Blog: JavaScript Pitfalls for PHP-Developers]]></title>
      <guid>http://www.phpdeveloper.org/news/15554</guid>
      <link>http://www.phpdeveloper.org/news/15554</link>
      <description><![CDATA[<p>
On the Mayflower blog there's <a href="http://blog.mayflower.de/archives/624-JavaScript-Pitfalls-for-PHP-Developers.html">a new post</a> talking about some of the common pitfalls for PHP developers that are starting their work with the front end Javascript language.
</p>
<blockquote>
If we take a look at our <a href="http://mayflower.de/de/karriere">current job advertisement</a>, these knowledge is still important, but also skills in JavaScript are asked and strongly desired. If you wonder why JavaScript is so popular at these times, my answer is quite simple: The browser is no longer a stupid instrument to view some static websites on the internet- the browser turned into an (Web-) Application Platform that provides more content then plain text. 
</blockquote>
<p>
They start by comparing some of the data types common between the two (with most things on the Javascript side ending up as an object). They also talk about the fact that arrays are not (technically) arrays like PHP developers think of them. They finish it off with two more common problems PHP devs have when making the move - looping through arrays and "the thing with the semicolon".
</p>]]></description>
      <pubDate>Thu, 09 Dec 2010 10:56:26 -0600</pubDate>
    </item>
  </channel>
</rss>

