<?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: Things You Probably Didn’t Know About PHP &#8211; Part 1</title>
	<atom:link href="http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/</link>
	<description>for Those Who Develop Something on the Web</description>
	<lastBuildDate>Wed, 28 Jul 2010 03:56:41 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Ben</title>
		<link>http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/comment-page-1/#comment-327</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Wed, 28 Jul 2010 03:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=531#comment-327</guid>
		<description>&quot;You can compress/decompress long strings before storing them in a database&quot;

Bravo! So when it comes to query these records and use the gzip-compressed field in a WHERE clause.... you would go about doing that how?

This sort of inanity is the reason PHP regrettably cops the reputation of being a second rate, amateur-hour  language.</description>
		<content:encoded><![CDATA[<p>&#8220;You can compress/decompress long strings before storing them in a database&#8221;</p>
<p>Bravo! So when it comes to query these records and use the gzip-compressed field in a WHERE clause&#8230;. you would go about doing that how?</p>
<p>This sort of inanity is the reason PHP regrettably cops the reputation of being a second rate, amateur-hour  language.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: php programmer</title>
		<link>http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/comment-page-1/#comment-282</link>
		<dc:creator>php programmer</dc:creator>
		<pubDate>Tue, 30 Mar 2010 13:48:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=531#comment-282</guid>
		<description>Good informative article...

Thanks for the stuff.</description>
		<content:encoded><![CDATA[<p>Good informative article&#8230;</p>
<p>Thanks for the stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chase</title>
		<link>http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/comment-page-1/#comment-236</link>
		<dc:creator>chase</dc:creator>
		<pubDate>Fri, 22 Jan 2010 12:21:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=531#comment-236</guid>
		<description>The last one could also be done like so:

array_filter(explode(&quot;,&quot;,$string));

I know preg_split is more expensive than explode, not sure if combining it with array_filter is going to change that though.

be careful though, as written, it will also remove anything that evaluates to false. You can write your own callback to just remove empty strings though.</description>
		<content:encoded><![CDATA[<p>The last one could also be done like so:</p>
<p>array_filter(explode(&#8220;,&#8221;,$string));</p>
<p>I know preg_split is more expensive than explode, not sure if combining it with array_filter is going to change that though.</p>
<p>be careful though, as written, it will also remove anything that evaluates to false. You can write your own callback to just remove empty strings though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frost</title>
		<link>http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/comment-page-1/#comment-234</link>
		<dc:creator>Frost</dc:creator>
		<pubDate>Thu, 21 Jan 2010 23:31:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=531#comment-234</guid>
		<description>@#1 
How do you expect to perform a search on your data through MySQL if you have it all compressed in gZip format?</description>
		<content:encoded><![CDATA[<p>@#1<br />
How do you expect to perform a search on your data through MySQL if you have it all compressed in gZip format?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Skilbeck</title>
		<link>http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/comment-page-1/#comment-225</link>
		<dc:creator>Mark Skilbeck</dc:creator>
		<pubDate>Wed, 13 Jan 2010 21:44:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=531#comment-225</guid>
		<description>Number 2 is slightly misleading. It checks that the domain, IP, etc., resolve correctly (the proper records exist). It does not, however, confirm that an email address is in use. 

Furthermore, you cannot use &quot;user@*&quot; in the string passed to checkdnsrr().</description>
		<content:encoded><![CDATA[<p>Number 2 is slightly misleading. It checks that the domain, IP, etc., resolve correctly (the proper records exist). It does not, however, confirm that an email address is in use. </p>
<p>Furthermore, you cannot use &#8220;user@*&#8221; in the string passed to checkdnsrr().</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: monk.e.boy</title>
		<link>http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/comment-page-1/#comment-222</link>
		<dc:creator>monk.e.boy</dc:creator>
		<pubDate>Wed, 13 Jan 2010 11:03:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=531#comment-222</guid>
		<description>$class_name = function_to_get_class_name();
$my_class = new $class_name();

Zend_Framework does this a lot.

monk.e.boy</description>
		<content:encoded><![CDATA[<p>$class_name = function_to_get_class_name();<br />
$my_class = new $class_name();</p>
<p>Zend_Framework does this a lot.</p>
<p>monk.e.boy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clay Borne</title>
		<link>http://www.devtheweb.net/blog/2010/01/12/things-you-probably-didnt-know-about-php/comment-page-1/#comment-221</link>
		<dc:creator>Clay Borne</dc:creator>
		<pubDate>Tue, 12 Jan 2010 19:38:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.devtheweb.net/blog/?p=531#comment-221</guid>
		<description>Great Post.  It&#039;s amazing how versatile PHP is.  The amount of libraries is also a great resource.</description>
		<content:encoded><![CDATA[<p>Great Post.  It&#8217;s amazing how versatile PHP is.  The amount of libraries is also a great resource.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
