<?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: Modal value(s) in PHP</title>
	<atom:link href="http://cowburn.info/2009/04/01/php-array-mode/feed/" rel="self" type="application/rss+xml" />
	<link>http://cowburn.info/2009/04/01/php-array-mode/</link>
	<description>Online storage depot for Peter Cowburn</description>
	<lastBuildDate>Sat, 04 Feb 2012 12:58:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rob Colburn</title>
		<link>http://cowburn.info/2009/04/01/php-array-mode/#comment-59895</link>
		<dc:creator>Rob Colburn</dc:creator>
		<pubDate>Fri, 25 Jun 2010 23:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://cowburn.info/?p=156#comment-59895</guid>
		<description>This does not work reliably.  I can send you my full code if you like here&#039;s the summary. This fixes the code.

&lt;pre&gt;&lt;code lang=&quot;php&quot;&gt;$counts = array_count_values($set);
arsort ($counts);
$modes  = array_keys($counts, current($counts), TRUE);&lt;/code&gt;&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>This does not work reliably.  I can send you my full code if you like here&#8217;s the summary. This fixes the code.</p>
<div class="codecolorer-container text twitlight moo-highlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">&lt;code lang=&quot;php&quot;&gt;$counts = array_count_values($set);<br />
arsort ($counts);<br />
$modes &nbsp;= array_keys($counts, current($counts), TRUE);&lt;/code&gt;</div></div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://cowburn.info/2009/04/01/php-array-mode/#comment-50663</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Sun, 05 Apr 2009 20:12:13 +0000</pubDate>
		<guid isPermaLink="false">http://cowburn.info/?p=156#comment-50663</guid>
		<description>@bryan awesome, good work on the rewrite for the PHP4 luddites.

@evan No April Fools on this blog. There aren&#039;t enough blog posts made to warrant one a year being silly. :-P</description>
		<content:encoded><![CDATA[<p>@bryan awesome, good work on the rewrite for the PHP4 luddites.</p>
<p>@evan No April Fools on this blog. There aren&#8217;t enough blog posts made to warrant one a year being silly. <img src='http://cowburn.info/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Evan Byrne</title>
		<link>http://cowburn.info/2009/04/01/php-array-mode/#comment-50659</link>
		<dc:creator>Evan Byrne</dc:creator>
		<pubDate>Sun, 05 Apr 2009 19:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://cowburn.info/?p=156#comment-50659</guid>
		<description>Very interesting. At first I thought this was some sort of lame April Fools joke by the post date. ^^</description>
		<content:encoded><![CDATA[<p>Very interesting. At first I thought this was some sort of lame April Fools joke by the post date. ^^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bryan Culver</title>
		<link>http://cowburn.info/2009/04/01/php-array-mode/#comment-49779</link>
		<dc:creator>Bryan Culver</dc:creator>
		<pubDate>Wed, 01 Apr 2009 16:32:27 +0000</pubDate>
		<guid isPermaLink="false">http://cowburn.info/?p=156#comment-49779</guid>
		<description>Heh, I didn&#039;t know array_count_values() existed. This is a lot cleaner than my function. I have modified it on my blog to add PHP 4 support though, sadly I stumble across old versions of PHP often.</description>
		<content:encoded><![CDATA[<p>Heh, I didn&#8217;t know array_count_values() existed. This is a lot cleaner than my function. I have modified it on my blog to add PHP 4 support though, sadly I stumble across old versions of PHP often.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

