<?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 Shorthand and Alternate Syntax: A quickie!</title>
	<atom:link href="http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/feed" rel="self" type="application/rss+xml" />
	<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html</link>
	<description></description>
	<lastBuildDate>Tue, 20 Dec 2011 14:26:17 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: kevin</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-4671</link>
		<dc:creator>kevin</dc:creator>
		<pubDate>Sat, 15 Oct 2011 14:07:32 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-4671</guid>
		<description>only thing i&#039;d change is the lack of curly brackets. lol. great article!</description>
		<content:encoded><![CDATA[<p>only thing i&#8217;d change is the lack of curly brackets. lol. great article!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Designerfoo</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-2407</link>
		<dc:creator>Designerfoo</dc:creator>
		<pubDate>Fri, 11 Mar 2011 15:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-2407</guid>
		<description>I don&#039;t think so, because a lot of widely used Open source software use the alternative syntax, what *might* be discarded would be the &lt;?= &lt;var&gt; ?&gt; type syntax. You can follow the thread on sitepoint here http://www.sitepoint.com/forums/php-34/no-alternative-syntax-php-6-a-616859.html and check in the list of changes drafted for PHP 6 here http://wiki.php.net/todo/php60</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think so, because a lot of widely used Open source software use the alternative syntax, what *might* be discarded would be the < ?= <var> ?> type syntax. You can follow the thread on sitepoint here <a href="http://www.sitepoint.com/forums/php-34/no-alternative-syntax-php-6-a-616859.html" rel="nofollow">http://www.sitepoint.com/forums/php-34/no-alternative-syntax-php-6-a-616859.html</a> and check in the list of changes drafted for PHP 6 here <a href="http://wiki.php.net/todo/php60" rel="nofollow">http://wiki.php.net/todo/php60</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: medina</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-2300</link>
		<dc:creator>medina</dc:creator>
		<pubDate>Wed, 02 Mar 2011 01:29:13 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-2300</guid>
		<description>I&#039;ve heard this alternative syntax will be ended up in the new version of the PHP, the 6.0. Could someone confirm it or not in definitely, please? Cheers.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve heard this alternative syntax will be ended up in the new version of the PHP, the 6.0. Could someone confirm it or not in definitely, please? Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Designerfoo</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-1889</link>
		<dc:creator>Designerfoo</dc:creator>
		<pubDate>Sat, 22 Jan 2011 06:37:18 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-1889</guid>
		<description>Thanks Metrofax :) for pointing out the typos, glad you enjoyed the article!</description>
		<content:encoded><![CDATA[<p>Thanks Metrofax <img src='http://designerfoo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  for pointing out the typos, glad you enjoyed the article!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MetroFax</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-1884</link>
		<dc:creator>MetroFax</dc:creator>
		<pubDate>Fri, 21 Jan 2011 23:37:24 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-1884</guid>
		<description>Handy page, very clearly laid out, and I was only aware of the {} syntax myself till I read this.

I&#039;d have to agree that the : method seems harder to read but still very simple and straight forward.

You might be testing readership with the &quot;IF Statement in one line&quot; section but there&#039;s two typos you may want to fix for the OCD types:
&quot;3 print $eatit = ($applet !=&quot;gree&quot;) ? &quot;Eat&quot; : &quot;Dont Eat&quot;;&quot; 
should be 
&quot;3 print $eatit = ($apple !=&quot;green&quot;) ? &quot;Eat&quot; : &quot;Dont Eat&quot;;&quot;

Cheers!</description>
		<content:encoded><![CDATA[<p>Handy page, very clearly laid out, and I was only aware of the {} syntax myself till I read this.</p>
<p>I&#8217;d have to agree that the : method seems harder to read but still very simple and straight forward.</p>
<p>You might be testing readership with the &#8220;IF Statement in one line&#8221; section but there&#8217;s two typos you may want to fix for the OCD types:<br />
&#8220;3 print $eatit = ($applet !=&#8221;gree&#8221;) ? &#8220;Eat&#8221; : &#8220;Dont Eat&#8221;;&#8221;<br />
should be<br />
&#8220;3 print $eatit = ($apple !=&#8221;green&#8221;) ? &#8220;Eat&#8221; : &#8220;Dont Eat&#8221;;&#8221;</p>
<p>Cheers!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Designerfoo</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-780</link>
		<dc:creator>Designerfoo</dc:creator>
		<pubDate>Tue, 20 Jul 2010 07:28:47 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-780</guid>
		<description>Agreed! :)</description>
		<content:encoded><![CDATA[<p>Agreed! <img src='http://designerfoo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-778</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Tue, 20 Jul 2010 06:17:07 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-778</guid>
		<description>using the if (...) :
endif;

syntax is great if you have blocks of html code in between your php. I find it&#039;s easier to scan for endif; or endwhile; when there is mixed html and php rather than searching through code looking for that missing curly brace ;)</description>
		<content:encoded><![CDATA[<p>using the if (&#8230;) :<br />
endif;</p>
<p>syntax is great if you have blocks of html code in between your php. I find it&#8217;s easier to scan for endif; or endwhile; when there is mixed html and php rather than searching through code looking for that missing curly brace <img src='http://designerfoo.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Designerfoo</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-763</link>
		<dc:creator>Designerfoo</dc:creator>
		<pubDate>Tue, 13 Jul 2010 05:31:31 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-763</guid>
		<description>Jason,

To each his own? :) I love the : syntax, It&#039;s more clear to me than using { }, I love {} too. It might be hard to debug I will give you that, but how is it that its hard to read and ugly? Ternary operators would save you a lot bytes if you have a lot of &quot;if&quot;s in the code. :) JMPO.</description>
		<content:encoded><![CDATA[<p>Jason,</p>
<p>To each his own? <img src='http://designerfoo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I love the : syntax, It&#8217;s more clear to me than using { }, I love {} too. It might be hard to debug I will give you that, but how is it that its hard to read and ugly? Ternary operators would save you a lot bytes if you have a lot of &#8220;if&#8221;s in the code. <img src='http://designerfoo.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  JMPO.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-758</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Mon, 12 Jul 2010 14:19:17 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-758</guid>
		<description>You shouldn&#039;t be advising people to use it, it&#039;s pretty much the opposite of all the things you said it is.

It&#039;s ugly.
It&#039;s hard to read.
It&#039;s hard to debug.

The ternary operator is okay, but normally in if statement is better due to readability.

That&#039;s just my opinion, probably the same as many others I&#039;d say.</description>
		<content:encoded><![CDATA[<p>You shouldn&#8217;t be advising people to use it, it&#8217;s pretty much the opposite of all the things you said it is.</p>
<p>It&#8217;s ugly.<br />
It&#8217;s hard to read.<br />
It&#8217;s hard to debug.</p>
<p>The ternary operator is okay, but normally in if statement is better due to readability.</p>
<p>That&#8217;s just my opinion, probably the same as many others I&#8217;d say.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: links for 2010-05-24 &#171; Peter&#8217;s Side Thoughts</title>
		<link>http://designerfoo.com/php-shorthand-php-alternative-alternate-syntax-a-quickie.html/comment-page-1#comment-653</link>
		<dc:creator>links for 2010-05-24 &#171; Peter&#8217;s Side Thoughts</dc:creator>
		<pubDate>Mon, 24 May 2010 09:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://designerfoo.com/?p=607#comment-653</guid>
		<description>[...] PHP Shorthand and Alternate Syntax: A quickie! (tags: php) [...]</description>
		<content:encoded><![CDATA[<p>[...] PHP Shorthand and Alternate Syntax: A quickie! (tags: php) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

