<?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, 09 Jan 2009 22:47:06 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matthew Turland's Blog: The Yin and Yang of Typing]]></title>
      <guid>http://www.phpdeveloper.org/news/9546</guid>
      <link>http://www.phpdeveloper.org/news/9546</link>
      <description><![CDATA[<p>
A little while back <i>Matthew Turland</i> <a href="http://ishouldbecoding.com/2008/01/19/the-yin-and-yang-of-typing/">posted about</a> something that some developers moving over to PHP from more strict languages have an issue with - variable typing - and how its evolved in languages over time.
</p>
<blockquote>
Without a little background in programming languages or computer science in general, it's entirely possible that <a href="http://en.wikipedia.org/wiki/Type_system">typing systems</a> are not something that have crossed your mind. I thought I'd take a blog entry to share some of my thoughts on how it's affecting the creation and evolution of languages.
</blockquote>
<p>
He walks through history a bit, mentioning C, Java, Python and PHP and how they differ in their default type handling. He especially focuses on the "blurred line" between strong and weak typing and how some if offers special features to the language that uses the method.
</p>]]></description>
      <pubDate>Fri, 01 Feb 2008 11:58:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Clay Loveless' Blog: PHP and JSON: Cut #987]]></title>
      <guid>http://www.phpdeveloper.org/news/7364</guid>
      <link>http://www.phpdeveloper.org/news/7364</link>
      <description><![CDATA[<p>
In a <a href="http://killersoft.com/randomstrings/2007/02/28/php-and-json-cut-987/">new post</a> today, <i>Clay Loveless</i> talks about some issues he's been having with PHP and JSON, specifically with the JSON encoding method in PHP 5.2.1.
</p>
<blockquote>
As of PHP 5.2.1, json_decode() no longer follows <a href="http://www.ietf.org/rfc/rfc4627.txt">the published standards</a> for JSON-encoded texts. Why not? For no reason other than the convenience of those ignorant of JSON standards.
</blockquote>
<p>
His complaint stems from the results of a vat_dump statement - prior to this version it would give a NULL, but now it returns a "bool(true)" value back, resulting in some breakage of previous scripts. He spends the rest of the post explaining his voyage through the JSON world and how things are supposed to behave. He also digs a little deeper into the var_dump issue and why he thinks it's such a bad thing.
</p>]]></description>
      <pubDate>Thu, 01 Mar 2007 08:43:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Felix Geisendorfer's Blog: How-to: Use Html 4.01 in CakePHP 1.2]]></title>
      <guid>http://www.phpdeveloper.org/news/7326</guid>
      <link>http://www.phpdeveloper.org/news/7326</link>
      <description><![CDATA[<p>
<i>Felix Geisendorfer</i> has a <a href="http://www.thinkingphp.org/2007/02/21/use-html-401-in-cakephp-12/">"quick hit"</a> tip posted to his blog today on using HTML 4.0.1 in your CakePHP 1.2 installation.
</p>
<blockquote>
This is just a little tip for those of you who dislike their xhtml to end up as tag soup and still prefer to send out Html 4.01 strict. Here is how to make all helper functions in Cake 1.2 output Html 4.01 compliant markup instead of xhtml.
</blockquote>
<p>
The <a href="http://www.thinkingphp.org/2007/02/21/use-html-401-in-cakephp-12/">helper he's created</a> just loops through the entire $tags array and does a replace on the greater-than sign to add a slash to make it compliant.
</p>]]></description>
      <pubDate>Thu, 22 Feb 2007 08:35:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: How strict is your dynamic language?]]></title>
      <guid>http://www.phpdeveloper.org/news/5886</guid>
      <link>http://www.phpdeveloper.org/news/5886</link>
      <description><![CDATA[<p>
<i>Harry Fuecks</i> wonders in <a href="http://www.sitepoint.com/blogs/2006/07/27/how-strict-is-your-dynamic-language/">this new post</a> on the SitePoint PHP Blog "how strict is your dynamic language?"
</p>
<blockquote>
Considering the "big four" dynamic, procedural languages; Perl, Python, PHP and Ruby, to an extent they're much of a muchness, offering only small variations on the same theme (ignoring PHP's lack of support for functional-style programming). But sometimes little things make a big difference, and perhaps most of all when your code is given input to handle which it wasn't designed for. Knocked up a simple example to compare them in this area...
</blockquote>
<p>
He <a href="http://www.sitepoint.com/blogs/2006/07/27/how-strict-is-your-dynamic-language/">compares four languages</a> - Perl, PHP, Ruby, and Python - by giving, for each, code examples and what the output would be, including what would error out. These examples help to illustrate his final points:
<ul>
<li>where is the point when a fatal error should be raised? 
<li>what is it the languages should actually complain about?
</ul>
</p>]]></description>
      <pubDate>Thu, 27 Jul 2006 06:00:58 -0500</pubDate>
    </item>
  </channel>
</rss>
