<?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>Sat, 25 May 2013 12:14:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[NETTUTS.com: Are You Making These 10 PHP Mistakes?]]></title>
      <guid>http://www.phpdeveloper.org/news/11877</guid>
      <link>http://www.phpdeveloper.org/news/11877</link>
      <description><![CDATA[<p>
All of you developers out there, NETTUTS.com has a question for you - are you making any of <a href="http://nettuts.com/articles/are-you-making-these-10-php-mistakes/">these ten PHP mistakes</a> in your day to day development? Which ones, you ask? Read on...
</p>
<blockquote>
Here are 10 PHP mistakes that any programmer, regardless of skill level, might make at any given time. Some of the mistakes are very basic, but trip up even the best PHP programmer. Other mistakes are hard to spot (even with strict error reporting). But all of these mistakes have one thing in common: They're easy to avoid.
</blockquote>
<p>Here's the list (as <i>Glen Stanberry</i> sees it):</p>
<ul>
<li>Single quotes, double quotes
<li>Semicolon after a While
<li>NOT Using database caching
<li>Missing Semicolon After a Break or a Continue
<li>Not Using E_ALL Reporting
<li>Not Setting Time Limits On PHP Scripts
<li>Not Protecting Session ID's
<li>Not Validating Cookie Data
<li>Not Escaping Entities
<li>Using Wrong Comparison Operators
</ul>]]></description>
      <pubDate>Wed, 04 Feb 2009 09:33:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jani Hartikainen's Blog: Three PHP mistakes that will cause you debugging nightmares]]></title>
      <guid>http://www.phpdeveloper.org/news/11795</guid>
      <link>http://www.phpdeveloper.org/news/11795</link>
      <description><![CDATA[<p>
<i>Jani Hartikainen</i> has <a href="http://codeutopia.net/blog/2009/01/21/three-php-mistakes-that-will-cause-you-debugging-nightmares/">posted about</a> three simple, but hard to find, mistakes that can cause you endless frustration if you're not looking in the right places.
</p>
<p>Here's his list:</p>
<ul>
<li>Semicolon after a while - a small problem with big (infinitely looping) consequences)
<li>empty() and magic __get method - __get will hit first, then empty
<li>Missing semicolon after break or continue - a classic that can make switches and evaluations difficult to debug
</ul>
<p>
Comments on the post include a few others: working with variables by reference, comparisons with == versus === and strpos finding the first character in a string.
</p>]]></description>
      <pubDate>Thu, 22 Jan 2009 12:51:50 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Kore Nordmann's Blog: Evil bugs in your code]]></title>
      <guid>http://www.phpdeveloper.org/news/9171</guid>
      <link>http://www.phpdeveloper.org/news/9171</link>
      <description><![CDATA[<p>
<i>Kore Nordmann</i> has <a href="http://kore-nordmann.de/blog/evil_code_bugs.html">made a quick post</a> to his blog about some "evil bugs" he's seen reoccurring in the code he writes and wanted to point them out so other developers might learn from them.
</p>
<blockquote>
Those are 4 typical errors I introduced in my code, and spend some time debugging it, because I found them really hard to spot. Luckily, once I spotted the actual bug, I find it a lot easier the next time the typo occurs. Therefore I want to share those, so that I may save you some minutes of your life hunting stupid bugs.
</blockquote>
<p>
His three contributions concern a "missing if", the addition of a random semicolon, operator precedence and a for loop that refuses to work. Others have contributed to the comments on the post as well.
</p>]]></description>
      <pubDate>Tue, 04 Dec 2007 11:52:00 -0600</pubDate>
    </item>
  </channel>
</rss>
