<?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 18:20:48 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Michael Kimsal's Blog: Bizarre PHP behaviour]]></title>
      <guid>http://www.phpdeveloper.org/news/4856</guid>
      <link>http://www.phpdeveloper.org/news/4856</link>
      <description><![CDATA[In a <a href="http://fosterburgess.com/kimsal/?p=38">new post</a> on his blog today, <i>Michael Kimsal</i> looks at an abnormality that he's disocvered with constants in PHP.
<p>
<quote>
<i>
Chalk this up as par for the course in the world of PHP, but it doesn't behave as documented. I noticed today that @ work someone is creating database connections, then define()ing the result into a constant. I presumed this was failing silently and because we were generally connecting to only one database (or so I thought initially) that it was simply using the last open connection and still working.
<p>
This does *not* throw an error, but does in fact work. Even going back to PHP 4.3.2 (earliest I've checked). This flies in the face of my understanding of constants for years - well, since 1998 (perhaps earlier) or so.
</i>
</quote>
<p>
<a href="http://fosterburgess.com/kimsal/?p=38">the issue</a> - that a resource can be assigned to a constant - seems to contradict what's listed in <a href="http://us2.php.net/manual/en/language.constants.php">the manual</a>, and he asks later if there are others out there that have seen this same issue...]]></description>
      <pubDate>Thu, 16 Feb 2006 14:40:59 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEverywhere: PHP 5.1 - The Bazaar Is Sometimes Bizarre]]></title>
      <guid>http://www.phpdeveloper.org/news/4381</guid>
      <link>http://www.phpdeveloper.org/news/4381</link>
      <description><![CDATA[<i>John Lim</i> looks at <a href="http://phplens.com/phpeverywhere/?q=node/view/220">the release of PHP 5.1</a> with a bit more skeptical eye in his latest blog post today.
<p>
<quote>
<i>
Well <a href="http://www.php.net/downloads.php#v5">PHP 5.1.0</a> is out. This is a monumental piece of work, and congratulations to the PHP 5 internals team for all the hard work. However it feels rushed through the door. Apparently there are compatibility problems (with typecasting when parameter passing, the prototype date class, and possibly other stuff.) Wait for the patches.
</i>
</quote>
<p>
He <a href="http://phplens.com/phpeverywhere/?q=node/view/220">also mentions</a> some of the turmoil that's been going on on the PHP internals mailing list lately, especially pre-5.1 release...]]></description>
      <pubDate>Mon, 28 Nov 2005 05:50:01 -0600</pubDate>
    </item>
  </channel>
</rss>
