<?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 Oct 2008 13:28:17 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPEverywhere: Octalpussy]]></title>
      <guid>http://www.phpdeveloper.org/news/9559</guid>
      <link>http://www.phpdeveloper.org/news/9559</link>
      <description><![CDATA[<p>
In an <a href="http://www.phpdeveloper.org/news/9543">earlier post</a> <i>John Lim</i> pointed out an interesting issue with how certain numbers are handled in PHP - ones starting with a zero:
</p>
<blockquote>
That's because any number preceded by 0 is treated as an octal number, and 9 is an invalid octal number. [...] The silly thing is that hardly anyone uses octal nowadays, but it continues to be part of the C, C++, Java and PHP standards. The mistake is also <a href="http://mindprod.com/jgloss/octal.html">very common</a>.
</blockquote>
<p>
There's not much way around it, he notes - the format's been in use for a long time now and is so ingrained in just about every C-based language out there that it's "too deeply imprinted in modern compiler DNA" to take out.
</p>]]></description>
      <pubDate>Mon, 04 Feb 2008 10:25:00 -0600</pubDate>
    </item>
  </channel>
</rss>
