<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: PHP Insanity</title>
	<atom:link href="http://www.programmersparadox.com/2007/12/19/php-insanity/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.programmersparadox.com/2007/12/19/php-insanity/</link>
	<description>Long form thoughts from a Software Engineer</description>
	<lastBuildDate>Thu, 19 Jan 2012 13:42:07 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: The Maybe Operator &#124; Programmer&#8217;s Paradox</title>
		<link>http://www.programmersparadox.com/2007/12/19/php-insanity/comment-page-1/#comment-10</link>
		<dc:creator>The Maybe Operator &#124; Programmer&#8217;s Paradox</dc:creator>
		<pubDate>Thu, 27 Dec 2007 03:37:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmersparadox.com/2007/12/19/php-insanity/#comment-10</guid>
		<description>[...] discussion stems from several events coming together in my brain at once.  First was my previous PHP Insanity post, part I.  In it I talked about PHP&#8217;s comparison operators and how I find them lacking.  This lead [...]</description>
		<content:encoded><![CDATA[<p>[...] discussion stems from several events coming together in my brain at once.  First was my previous PHP Insanity post, part I.  In it I talked about PHP&#8217;s comparison operators and how I find them lacking.  This lead [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chuck</title>
		<link>http://www.programmersparadox.com/2007/12/19/php-insanity/comment-page-1/#comment-9</link>
		<dc:creator>chuck</dc:creator>
		<pubDate>Mon, 24 Dec 2007 21:16:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmersparadox.com/2007/12/19/php-insanity/#comment-9</guid>
		<description>I, too, had not considered the usefulness of this weird-notion-of-equality that PHP has for GET/POST variables.  It&#039;s a good point, but since the majority of my PHP work doesn&#039;t deal in GET/POST variables (AMFPHP remoting services for Flash/Flex applications), I haven&#039;t needed this &quot;kind&quot; of equality.  I guess that&#039;s what happens when you try to make a &quot;hypertext preprocessor&quot; into a real programming language.

It still remains that programmers on the whole are accustomed to == being an equality operator, that it means, &quot;equal,&quot; not &quot;kinda equal&quot; or &quot;equal in a POST-variable sense&quot;.  Hence this is still a bad design -- &quot;equal in a POST variable sense&quot; ought to have used some other operator.  &quot;===&quot; feels like it means &quot;more equal&quot; rather than &quot;sorta equal&quot; though, so I&#039;d suggest ?=    :D</description>
		<content:encoded><![CDATA[<p>I, too, had not considered the usefulness of this weird-notion-of-equality that PHP has for GET/POST variables.  It&#8217;s a good point, but since the majority of my PHP work doesn&#8217;t deal in GET/POST variables (AMFPHP remoting services for Flash/Flex applications), I haven&#8217;t needed this &#8220;kind&#8221; of equality.  I guess that&#8217;s what happens when you try to make a &#8220;hypertext preprocessor&#8221; into a real programming language.</p>
<p>It still remains that programmers on the whole are accustomed to == being an equality operator, that it means, &#8220;equal,&#8221; not &#8220;kinda equal&#8221; or &#8220;equal in a POST-variable sense&#8221;.  Hence this is still a bad design &#8212; &#8220;equal in a POST variable sense&#8221; ought to have used some other operator.  &#8220;===&#8221; feels like it means &#8220;more equal&#8221; rather than &#8220;sorta equal&#8221; though, so I&#8217;d suggest ?=    <img src='http://www.programmersparadox.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PHP Insanity II &#124; Programmer&#8217;s Paradox</title>
		<link>http://www.programmersparadox.com/2007/12/19/php-insanity/comment-page-1/#comment-6</link>
		<dc:creator>PHP Insanity II &#124; Programmer&#8217;s Paradox</dc:creator>
		<pubDate>Sat, 22 Dec 2007 01:42:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmersparadox.com/2007/12/19/php-insanity/#comment-6</guid>
		<description>[...] 0. In fact, anything other than an integer will return 0 (with the exception of a few strings - see part I of this series). But wait, I know what you&#8217;re thinking: 0 is in fact, an [...]</description>
		<content:encoded><![CDATA[<p>[...] 0. In fact, anything other than an integer will return 0 (with the exception of a few strings &#8211; see part I of this series). But wait, I know what you&#8217;re thinking: 0 is in fact, an [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.programmersparadox.com/2007/12/19/php-insanity/comment-page-1/#comment-5</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 21 Dec 2007 01:11:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmersparadox.com/2007/12/19/php-insanity/#comment-5</guid>
		<description>Interesting.  I hadn&#039;t considered the usefulness in the case of a post variable, where this does make sense.  I guess this is a case of knowing the language and knowing what it was designed for.  Although it can still be maddening encountering this behavior unexpectedly for the first time.  Thanks for that insight.</description>
		<content:encoded><![CDATA[<p>Interesting.  I hadn&#8217;t considered the usefulness in the case of a post variable, where this does make sense.  I guess this is a case of knowing the language and knowing what it was designed for.  Although it can still be maddening encountering this behavior unexpectedly for the first time.  Thanks for that insight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: acebone</title>
		<link>http://www.programmersparadox.com/2007/12/19/php-insanity/comment-page-1/#comment-4</link>
		<dc:creator>acebone</dc:creator>
		<pubDate>Thu, 20 Dec 2007 20:29:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.programmersparadox.com/2007/12/19/php-insanity/#comment-4</guid>
		<description>typecomparison was a typo - it should&#039;ve read typeconversion</description>
		<content:encoded><![CDATA[<p>typecomparison was a typo &#8211; it should&#8217;ve read typeconversion</p>
]]></content:encoded>
	</item>
</channel>
</rss>

