<?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>Fri, 16 May 2008 23:08:06 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ibuildings Blog: Accessing object properties by reference]]></title>
      <guid>http://www.phpdeveloper.org/news/10114</guid>
      <link>http://www.phpdeveloper.org/news/10114</link>
      <description><![CDATA[<p>
On the Ibuildings blog today, <i>Harrie Verveer</i> has <a href="http://www.ibuildings.com/blog/archives/951-Accessing-object-properties-by-reference.html">posted about</a> an interesting quirk he found when working with objects and references:
</p>
<blockquote>
PHP is a loosely typed language. Most of the time this is very useful because you as a programmer don't have to worry about typecasting: it's done for you. However, on some occasions this can cause some unexpected trouble. [...] In this blog I want to point out what can happen if you try to access object properties by reference when the object is not initialized.
</blockquote>
<p>
<a href="http://www.ibuildings.com/blog/archives/951-Accessing-object-properties-by-reference.html">His example</a> shows the problem when it tries to grab a value from an array in a non-existent object by reference. It results in a dyanamically created object (of that type) with an empty array inside of it. It only works when you grab it by reference, but he shares a tip or two about how you can prevent hard to track down issues like this.
</p>]]></description>
      <pubDate>Mon, 05 May 2008 14:38:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Shantanu Goel's Blog:  Migrating From PHP4 To PHP5: Solving WP-Cache (and maybe other) Issues]]></title>
      <guid>http://www.phpdeveloper.org/news/10091</guid>
      <link>http://www.phpdeveloper.org/news/10091</link>
      <description><![CDATA[<p>
If you're a WordPress user and are in the process of an upgrade from PHP4 to PHP5, you might be having a few issues. One problem can be cause by the wp-cache component and <a href="http://tech.shantanugoel.com/2008/04/07/migrating-from-php4-to-php5-solving-wp-cache-and-maybe-other-issues.html">this recent post</a> from <i>Shantanu Goel</i>.
</p>
<blockquote>
The issues range from weird page layouts, to some controls not working, to some errors popping up here and there, and probably your blog not even displaying. This occurs because even though WordPress is PHP5 compatible, some of the plugins you are using might not be.
</blockquote>
<p>
In his case, it was the wp-cache plugin that was causing the problems. Permissions weren't right to allow it to do its job. This resulted in problems rendering content and with the site acting as it normally would. His solution involved disabling and reenabling the plugin after deleting the cache and lock file the plugin uses.
</p>]]></description>
      <pubDate>Thu, 01 May 2008 14:23:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Matthew Turland's Blog: Interesting Bug in the HTTP Streams Wrapper]]></title>
      <guid>http://www.phpdeveloper.org/news/9965</guid>
      <link>http://www.phpdeveloper.org/news/9965</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> has come across an <a href="http://ishouldbecoding.com/2008/04/10/interesting-bug-in-the-http-streams-wrapper">"interesting bug"</a> in PHP's stream wrappers functionality - some strange 404 or 500 HTTP errors in one of his scripts.
</p>
<blockquote>
I wrote a <a href="http://ishouldbecoding.com/2008/04/user/files/pastebin.phps">small script</a> a while back that's gained a surprising amount of popularity thanks to a plug from the site that it posts to. [...] I learned that this [connection from the script] could be done with streams, I attempted to implement it in that fashion, but ran into strange issues where I would get 404 or 500-level HTTP errors rather than the response I was expected.
</blockquote>
<p>
He eventually found <a href="http://bugs.php.net/bug.php?id=44603">the bug</a> related to his problem (in the 5.2.x branch) but happily notes that it has been corrected and will be patched in the upcoming 5.3 (and 6) branches.
</p>]]></description>
      <pubDate>Mon, 14 Apr 2008 08:49:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PEAR Blog: First PEAR bug triage over!]]></title>
      <guid>http://www.phpdeveloper.org/news/9905</guid>
      <link>http://www.phpdeveloper.org/news/9905</link>
      <description><![CDATA[<p>
According to <a href="http://blog.pear.php.net/2008/03/28/first-pear-bug-triage-over/">this post</a> on the PEAR blog, the first PEAR bug triage is now over:
</p>
<blockquote>
PEAR's bug tracker hit the 600+ open bugs mark a month ago. [...] So with 600+ open bugs (not including the feature requests), we had to do something. [...] The logical step was to hold our own bug smashing event and see how it works for PEAR.
</blockquote>
<p>
Back on March 22nd and 23rd (Easter weekend) they hunted for bugs. Several developers showed to help out and many bugs were fixed and they managed to bring the number of open bugs for PEAR down to 547 with the two days of work. There were some milestones reached too:
</p>
<blockquote>
Thanks to the triage, we are close to reaching two important milestones: Closing bug reports with lower bug ID than 1000 (1 bug left!) and 2000 (5 left).
</blockquote>]]></description>
      <pubDate>Thu, 03 Apr 2008 10:26:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michael Kimsal's Blog: Why I think PDO sucks]]></title>
      <guid>http://www.phpdeveloper.org/news/9898</guid>
      <link>http://www.phpdeveloper.org/news/9898</link>
      <description><![CDATA[<p>
<i>Michael Kimsal</i> has <a href="http://michaelkimsal.com/blog/2008/04/why-i-think-pdo-sucks/">posted his opinion</a> on why PDO, the <a href="http://us.php.net/pdo">database interface layer</a> for PHP, sucks.
</p>
<blockquote>
Every so often I try to use PDO under PHP5, and every time I run in to basic functionality problems with no ability to find out what's going on under the hood.
</blockquote>
<p>
He includes a few comments supporting his statement including an issue where a prepare() call didn't work, his frustration with not being able to see what's "under the hood" and the lack of documentation to help with these sorts of issues. 
</p>]]></description>
      <pubDate>Wed, 02 Apr 2008 19:38:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Enterprise PHP Magazine Launched]]></title>
      <guid>http://www.phpdeveloper.org/news/9873</guid>
      <link>http://www.phpdeveloper.org/news/9873</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has <a href="http://blog.astrumfutura.com/archives/349-New-PHP-Magazine-In-Town.html">pointed out</a> the "new kid in town" when it comes to magazines about PHP - <a href="http://it-republik.de/php/enterprisephp/index.php?lang=en">Enterprise PHP</a>:
</p>
<blockquote>
There is a new PHP magazine called "Enterprise PHP" available in English, German and French which might even console those missing the apparently ill-fated International PHP Magazine. Back before publication the usual tree of suspects led me to being interviewed for the initial edition published a short while back.
</blockquote>
<p>
The <a href="http://it-republik.de/php/enterprisephp/index.php?lang=en">current issue</a> (which you can get for free after a survey) has articles looking at testing your PHP scripts, how "professional" it is to use PHP and the fact that Java is not PHP (wait, isn't that backwards?)
</p>]]></description>
      <pubDate>Fri, 28 Mar 2008 07:51:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-GTK Community Site: PHP-GTK on Vista Memory Issue]]></title>
      <guid>http://www.phpdeveloper.org/news/9789</guid>
      <link>http://www.phpdeveloper.org/news/9789</link>
      <description><![CDATA[<p>
The PHP-GTK Community Site has <a href="http://php-gtk.eu/phpgtk-on-vista-memory-issue">posted about</a> an issue that's been found with PHP-GTK on a Windows Vista machine that can cause problems with how the OS handles memory (by <i>Wim Stockman</i>).
</p>
<blockquote>
My work station is WinXp system and my friend where I had to create it for has the new Vista and somewhere over 9000 pictures to be managed. On my system everything worked fine, but on my friends system i always got the error can not open file.
</blockquote>
<p>
Further testing revealed that it was the OS at fault - Vista wasn't handling the memory usage for the application correctly. When it was run directly from the file explorer (versus in the PHP-GTK console) though, it worked just fine. 
</p>]]></description>
      <pubDate>Thu, 13 Mar 2008 09:37:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Maggie Nelson's Blog: php|architect: Database Design for PHP Programmers by Mac Newbold]]></title>
      <guid>http://www.phpdeveloper.org/news/9721</guid>
      <link>http://www.phpdeveloper.org/news/9721</link>
      <description><![CDATA[<p>
<i>Maggie Nelson</i> has <a href="http://www.objectivelyoriented.com/2008/02/the_february_2008_issue_of_1.html">pointed out</a> an article in the most recently published edition of <a href="htt://www.phparch.com">php|architect</a> magazine (the February 2008 issue) that's an introduction to database design for programmers (by <i>Mac Newbold</i>).
</p>
<blockquote>
It's a pretty good article about database design and I think all PHP developers who are just starting to integrate databases in their applications should read it. However, there are a few things I'd like to add and point out.
</blockquote>
<p>
The "blurb" for the article mentions MySQL, PostgreSQL, Oracle, Microsoft SQL, SQLite and database schemas. You can find out more about this issue, including how to get your own copy, from the <a href="http://www.phparch.com/c/magazine/issue/67">php|architect website</a>.
</p>]]></description>
      <pubDate>Fri, 29 Feb 2008 07:53:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tim Bray's Blog: 2008 Prediction 4: PHP Problems]]></title>
      <guid>http://www.phpdeveloper.org/news/9673</guid>
      <link>http://www.phpdeveloper.org/news/9673</link>
      <description><![CDATA[<p>
As <i>Cal Evans</i> and others in the PHP community have pointed out, there's a <a href="http://www.tbray.org/ongoing/When/200x/2008/01/04/Predictions-PHP">post on Tim Bray's blog</a> (of Sun Microsystems) with his prediction for PHP for the upcoming year:
</p>
<blockquote>
The short version: PHP will remain popular but its growth will slow, as people get nervous about its maintainability and security stories.
</blockquote>
<p>
He does mention the two different stances of this statement - the good side (with low entry level, good applications and speed) and the stance he seems to believe in more - that there are just things about PHP and how its handled that could cause major issues down the line.
</p>
<p>
Be sure to check out <a href="http://www.tbray.org/ongoing/When/200x/2008/01/04/Predictions-PHP">the comments</a> for community views on both sides of the story too.
</p>]]></description>
      <pubDate>Wed, 20 Feb 2008 14:37:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Carsten Lucke's Blog: Configuration issues with Xdebug on Debian Etch]]></title>
      <guid>http://www.phpdeveloper.org/news/9547</guid>
      <link>http://www.phpdeveloper.org/news/9547</link>
      <description><![CDATA[<p>
For anyone that's had an issue with getting XDebug to work with the Debian linux distribution, you might want to check out <a href="http://blog.lucke.info/2008/01/30/configuration-issues-with-xdebug-on-debian-etch/">this helpful hint</a> <i>Carsten Lucke</i> has posted about.
</p>
<blockquote>
This week I started to setup a Debian-based (Etch) web-server with PHP 5.2 in a virtual-machine with VMWare. Part of this setup was getting XDebug2 integrated. It's really awesome and my students definitely need to learn about it. [...] Building went well as usual but when I tried to integrate the extension inside php.ini it was all weird.
</blockquote>
<p>
His system kept throwing him an error when he tried to load the shared module using the zend_extension directive, hand things happened. Loading it normally worked (so he knew it wasn't the module) and he finally figured out the problem:
</p>
<blockquote>
But I need to enable it as Zend extension. Whatever. I finally used the full path to xdebug.so to load it [...] that worked. 
</blockquote>]]></description>
      <pubDate>Fri, 01 Feb 2008 12:44:00 -0600</pubDate>
    </item>
  </channel>
</rss>
