<?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: How to Use the PHP Ternary Operator</title>
	<atom:link href="http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/</link>
	<description>Technical Articles, Musings and Opinions from Tech-Evangelist</description>
	<lastBuildDate>Wed, 21 Jul 2010 17:18:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
	<item>
		<title>By: Inzei</title>
		<link>http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/comment-page-1/#comment-12077</link>
		<dc:creator>Inzei</dc:creator>
		<pubDate>Tue, 24 Nov 2009 13:38:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/#comment-12077</guid>
		<description>@Adam: IIRC that&#039;ll still result in E_NOTICE when trying to get a value with nonexistent key, and thus such markup should be avoided.</description>
		<content:encoded><![CDATA[<p>@Adam: IIRC that&#8217;ll still result in E_NOTICE when trying to get a value with nonexistent key, and thus such markup should be avoided.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joyel</title>
		<link>http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/comment-page-1/#comment-10727</link>
		<dc:creator>Joyel</dc:creator>
		<pubDate>Sat, 28 Mar 2009 19:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/#comment-10727</guid>
		<description>They may not currently be migrating but a lot of them are going from 4 to 5.  If the PHP community would get in contact with there hosts and start talking to them about upgrading they will (create demand and they will respond).</description>
		<content:encoded><![CDATA[<p>They may not currently be migrating but a lot of them are going from 4 to 5.  If the PHP community would get in contact with there hosts and start talking to them about upgrading they will (create demand and they will respond).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doogie</title>
		<link>http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/comment-page-1/#comment-3781</link>
		<dc:creator>Doogie</dc:creator>
		<pubDate>Tue, 13 Nov 2007 12:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/#comment-3781</guid>
		<description>There are a lot of nice features in PHP 5 and the upcoming PHP 6. Unfortunately, most hosting companies have still not upgraded from PHP 4. :(</description>
		<content:encoded><![CDATA[<p>There are a lot of nice features in PHP 5 and the upcoming PHP 6. Unfortunately, most hosting companies have still not upgraded from PHP 4. <img src='http://www.tech-evangelist.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/comment-page-1/#comment-3766</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Tue, 13 Nov 2007 00:11:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.tech-evangelist.com/2007/11/11/php-ternary-operator/#comment-3766</guid>
		<description>I personally can&#039;t wait for the introduction of PHP6&#039;s optional adaptation of the ternary operator. Instead of doing like:

$myVar = $_GET[&#039;myVar&#039;] ? $_GET[&#039;myVar&#039;] : &#039;Not set&#039;;

You will be able to do:

$myVar = $_GET[&#039;myVar&#039;] ?: &#039;Not set&#039;;

How handy will that be!</description>
		<content:encoded><![CDATA[<p>I personally can&#8217;t wait for the introduction of PHP6&#8242;s optional adaptation of the ternary operator. Instead of doing like:</p>
<p>$myVar = $_GET['myVar'] ? $_GET['myVar'] : &#8216;Not set&#8217;;</p>
<p>You will be able to do:</p>
<p>$myVar = $_GET['myVar'] ?: &#8216;Not set&#8217;;</p>
<p>How handy will that be!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
