<?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: 10 things you (probably) didn’t know about PHP.</title>
	<atom:link href="http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/</link>
	<description></description>
	<lastBuildDate>Thu, 11 Aug 2011 13:49:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Tim</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-197</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Wed, 23 Jan 2008 18:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-197</guid>
		<description>I&#039;m still learning PHP, but I&#039;ve already come to love the ternary operator for simple (non-nested) assignments...it keeps code simpler and less visually jarring.  To help visually parse the ternary statement, however, I place parens around each of the pieces, like so:

$var = (testvalue) ? (truevalue) : (falsevalue);

which makes it quite easy to read.</description>
		<content:encoded><![CDATA[<p>I&#8217;m still learning PHP, but I&#8217;ve already come to love the ternary operator for simple (non-nested) assignments&#8230;it keeps code simpler and less visually jarring.  To help visually parse the ternary statement, however, I place parens around each of the pieces, like so:</p>
<p>$var = (testvalue) ? (truevalue) : (falsevalue);</p>
<p>which makes it quite easy to read.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincenzo</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-196</link>
		<dc:creator>Vincenzo</dc:creator>
		<pubDate>Wed, 19 Dec 2007 06:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-196</guid>
		<description>Why only 10 things?
2. I would check for MX, A, CNAME entries for a host
3. I think it&#039;s better to use PDO now if you want to make your code database-independent to some extent.</description>
		<content:encoded><![CDATA[<p>Why only 10 things?<br />
2. I would check for MX, A, CNAME entries for a host<br />
3. I think it&#8217;s better to use PDO now if you want to make your code database-independent to some extent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rtraction &#187; Blog Archive &#187; 10 things you (probably) didn&#8217;t know about php</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-195</link>
		<dc:creator>rtraction &#187; Blog Archive &#187; 10 things you (probably) didn&#8217;t know about php</dc:creator>
		<pubDate>Sat, 08 Sep 2007 21:11:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-195</guid>
		<description>[...] Check out the rest here: 10 things you (probably) didn&#8217;t know about php [...]</description>
		<content:encoded><![CDATA[<p>[...] Check out the rest here: 10 things you (probably) didn&#8217;t know about php [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: My Bookmarks - Design &#171; ????????</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-194</link>
		<dc:creator>My Bookmarks - Design &#171; ????????</dc:creator>
		<pubDate>Wed, 05 Sep 2007 11:45:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-194</guid>
		<description>[...] Yet Another Web Development Blog » 10 things you (probably) didn’t know about PHP. [...]</description>
		<content:encoded><![CDATA[<p>[...] Yet Another Web Development Blog » 10 things you (probably) didn’t know about PHP. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael S. Souza</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-193</link>
		<dc:creator>Rafael S. Souza</dc:creator>
		<pubDate>Wed, 22 Aug 2007 12:12:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-193</guid>
		<description>&quot;Learn to love the ternary operator.&quot;

Too much love can be a problem. ;)

Cheers</description>
		<content:encoded><![CDATA[<p>&#8220;Learn to love the ternary operator.&#8221;</p>
<p>Too much love can be a problem. <img src='http://www.rightbrainnetworks.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tips &#38; Tricks : Prototype, ChartDirector, Tabber, ViM et PHP - Le tipi de Tothem</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-192</link>
		<dc:creator>Tips &#38; Tricks : Prototype, ChartDirector, Tabber, ViM et PHP - Le tipi de Tothem</dc:creator>
		<pubDate>Mon, 20 Aug 2007 10:03:19 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-192</guid>
		<description>[...] Quelques fonctions PHP qui pourraient être utiles à certain(e)s  Ten things you probably didn&#8217;t know about PHP Cool things about PHP that most people [...]</description>
		<content:encoded><![CDATA[<p>[...] Quelques fonctions PHP qui pourraient être utiles à certain(e)s  Ten things you probably didn&#8217;t know about PHP Cool things about PHP that most people [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jhecht</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-191</link>
		<dc:creator>Jhecht</dc:creator>
		<pubDate>Sun, 19 Aug 2007 01:38:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-191</guid>
		<description>Only problem with checkdnsr is that its an apache pacific function. So if you are like most, and first create your code on Windows and then upload it to an apache server, it doesn&#039;t work on your test server so you can never tell what will happen.</description>
		<content:encoded><![CDATA[<p>Only problem with checkdnsr is that its an apache pacific function. So if you are like most, and first create your code on Windows and then upload it to an apache server, it doesn&#8217;t work on your test server so you can never tell what will happen.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-190</link>
		<dc:creator>Tom</dc:creator>
		<pubDate>Sat, 18 Aug 2007 20:16:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-190</guid>
		<description>Uhh... #2 is wrong.

The domain in an email address does not need to resolve to an IP to be valid.  An e-mail address domain can be perfectly good without an IP address, so if you follow this &quot;tip&quot; you will reject some perfectly good e-mail addresses.

To properly validate the domain in an e-mail, you must do an MX record lookup.</description>
		<content:encoded><![CDATA[<p>Uhh&#8230; #2 is wrong.</p>
<p>The domain in an email address does not need to resolve to an IP to be valid.  An e-mail address domain can be perfectly good without an IP address, so if you follow this &#8220;tip&#8221; you will reject some perfectly good e-mail addresses.</p>
<p>To properly validate the domain in an e-mail, you must do an MX record lookup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-189</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Sat, 18 Aug 2007 19:34:30 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-189</guid>
		<description>If you have to worry about number 8, then find a new database.</description>
		<content:encoded><![CDATA[<p>If you have to worry about number 8, then find a new database.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://www.rightbrainnetworks.com/blog/10-things-you-probably-didnt-know-about-php/comment-page-2/#comment-188</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Sat, 18 Aug 2007 10:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.rightbrainnetworks.com/2006/09/18/10-things-you-probably-didnt-know-about-php/#comment-188</guid>
		<description>similar_text() is cooler.</description>
		<content:encoded><![CDATA[<p>similar_text() is cooler.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

