<?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: Simple PHP Pluralize</title>
	<atom:link href="http://www.nerdydork.com/simple-php-pluralize.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.nerdydork.com/simple-php-pluralize.html</link>
	<description>Dustin Davis reviews... the internet.</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:23: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: William Ortell II</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-7770</link>
		<dc:creator>William Ortell II</dc:creator>
		<pubDate>Sat, 16 Jul 2011 12:51:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-7770</guid>
		<description>To accomodate more scenarios i saw this and it helped me in addition to your post ND :).  Hope it helps others&#039; &#039;pluaralization&#039;s as well :)

http://blog.eval.ca/2007/03/03/php-pluralize-method/
 </description>
		<content:encoded><![CDATA[<p>To accomodate more scenarios i saw this and it helped me in addition to your post ND <img src='http://www.nerdydork.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .  Hope it helps others&#8217; &#8216;pluaralization&#8217;s as well <img src='http://www.nerdydork.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://blog.eval.ca/2007/03/03/php-pluralize-method/" rel="nofollow">http://blog.eval.ca/2007/03/03/php-pluralize-method/</a><br />
 </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pool Sticks</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-7647</link>
		<dc:creator>Pool Sticks</dc:creator>
		<pubDate>Thu, 28 Apr 2011 20:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-7647</guid>
		<description>Hey, this is great!  Works like a charm! Thanks.  Another confirmation that the best things in life are simple. Especially when it comes to PHP. ;^)</description>
		<content:encoded><![CDATA[<p>Hey, this is great!  Works like a charm! Thanks.  Another confirmation that the best things in life are simple. Especially when it comes to PHP. ;^)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Hodgins</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-6218</link>
		<dc:creator>Michael Hodgins</dc:creator>
		<pubDate>Fri, 20 Nov 2009 14:10:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-6218</guid>
		<description>Ooops, the server filtered my php tags. Fair enough I suppose.</description>
		<content:encoded><![CDATA[<p>Ooops, the server filtered my php tags. Fair enough I suppose.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Hodgins</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-6217</link>
		<dc:creator>Michael Hodgins</dc:creator>
		<pubDate>Fri, 20 Nov 2009 14:07:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-6217</guid>
		<description>Hi. I didn&#039;t use this script but it provided inspiration, so I thought I&#039;d post a few pointers of my own. Don&#039;t take these as criticisms.

First, php short tags aren&#039;t a good idea (I think they&#039;re deprecated in PHP6) as they make the code harder to move from server to server; you should use &#039;&#039; and &#039; instead.

Also, the two statements &#039;if ($num == 1) return $single; else return $plural; &#039; can be tidied up by using the ternary operator: &#039;return $num == 1 ? $single : $plural;&#039;. Much nicer than that semi-colon in the middle of the line.</description>
		<content:encoded><![CDATA[<p>Hi. I didn&#8217;t use this script but it provided inspiration, so I thought I&#8217;d post a few pointers of my own. Don&#8217;t take these as criticisms.</p>
<p>First, php short tags aren&#8217;t a good idea (I think they&#8217;re deprecated in PHP6) as they make the code harder to move from server to server; you should use &#8221; and &#8216; instead.</p>
<p>Also, the two statements &#8216;if ($num == 1) return $single; else return $plural; &#8216; can be tidied up by using the ternary operator: &#8216;return $num == 1 ? $single : $plural;&#8217;. Much nicer than that semi-colon in the middle of the line.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Colon Cleansing</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-6068</link>
		<dc:creator>Colon Cleansing</dc:creator>
		<pubDate>Mon, 26 Oct 2009 11:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-6068</guid>
		<description>Any benefit is lost as soon as one requires to support localizable web sites and guess you don’t need to leave the States for this …</description>
		<content:encoded><![CDATA[<p>Any benefit is lost as soon as one requires to support localizable web sites and guess you don’t need to leave the States for this …</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emma Millward</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-5832</link>
		<dc:creator>Emma Millward</dc:creator>
		<pubDate>Sun, 20 Sep 2009 21:32:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-5832</guid>
		<description>Dustin - I just wanted to post you a big thank you for providing such useful code I was hoping to PHP Pluralize functions but found some code very complex, I was looking a Paul&#039;s Osman&#039;s website (based on your post) in regards to the Rails implementation - thankfully with with both yours and Paul&#039;s suggestion contribution was able to get the code working.

Many thanks again, Emma</description>
		<content:encoded><![CDATA[<p>Dustin &#8211; I just wanted to post you a big thank you for providing such useful code I was hoping to PHP Pluralize functions but found some code very complex, I was looking a Paul&#8217;s Osman&#8217;s website (based on your post) in regards to the Rails implementation &#8211; thankfully with with both yours and Paul&#8217;s suggestion contribution was able to get the code working.</p>
<p>Many thanks again, Emma</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Susan</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-5181</link>
		<dc:creator>Susan</dc:creator>
		<pubDate>Fri, 12 Jun 2009 22:38:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-5181</guid>
		<description>Brilliant.  Sometimes keeping it simple is the best.  I&#039;m getting tired of bloated code.</description>
		<content:encoded><![CDATA[<p>Brilliant.  Sometimes keeping it simple is the best.  I&#8217;m getting tired of bloated code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill@PHP code snippets forum</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-5135</link>
		<dc:creator>Bill@PHP code snippets forum</dc:creator>
		<pubDate>Fri, 05 Jun 2009 17:55:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-5135</guid>
		<description>Beautifully simple, Davis. I&#039;ve tended to formulate my output so as to not make it as big a deal if I have the plural version or not (&quot;Current users: X&quot; etc), but I might rip you off now. :)</description>
		<content:encoded><![CDATA[<p>Beautifully simple, Davis. I&#8217;ve tended to formulate my output so as to not make it as big a deal if I have the plural version or not (&#8220;Current users: X&#8221; etc), but I might rip you off now. <img src='http://www.nerdydork.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shaz@Photoshop Tutorials</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-5067</link>
		<dc:creator>Shaz@Photoshop Tutorials</dc:creator>
		<pubDate>Thu, 28 May 2009 12:53:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-5067</guid>
		<description>Im glad im more of a front end developer using actionscript 3 with flex i dont usually end up getting involved with these backend tiffs betweent the rails and the hp&#039;s. Nice coding and yes really nerdy so you have my vote :)</description>
		<content:encoded><![CDATA[<p>Im glad im more of a front end developer using actionscript 3 with flex i dont usually end up getting involved with these backend tiffs betweent the rails and the hp&#8217;s. Nice coding and yes really nerdy so you have my vote <img src='http://www.nerdydork.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dustin</title>
		<link>http://www.nerdydork.com/simple-php-pluralize.html/comment-page-1#comment-4918</link>
		<dc:creator>Dustin</dc:creator>
		<pubDate>Tue, 05 May 2009 22:49:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.nerdydork.com/simple-php-pluralize.html#comment-4918</guid>
		<description>I&#039;ve heard of internationalization... do I care? NO. I figured this was an arrogant Rails developer comment just from the tone. Precisely why I opted to learn Django instead. I can&#039;t stand arrogant Rails mentality - too much like the arrogant Mac mentality.

I don&#039;t know how you can say a one liner function is quite &quot;large&quot;. Have you seen Rails&#039; pluralize function?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve heard of internationalization&#8230; do I care? NO. I figured this was an arrogant Rails developer comment just from the tone. Precisely why I opted to learn Django instead. I can&#8217;t stand arrogant Rails mentality &#8211; too much like the arrogant Mac mentality.</p>
<p>I don&#8217;t know how you can say a one liner function is quite &#8220;large&#8221;. Have you seen Rails&#8217; pluralize function?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
<!-- This Quick Cache file was built for (  www.nerdydork.com/simple-php-pluralize.html/feed ) in 0.19855 seconds, on Feb 9th, 2012 at 2:00 am UTC. -->
<!-- This Quick Cache file will automatically expire ( and be re-built automatically ) on Feb 9th, 2012 at 3:00 am UTC -->
