<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/alternativelist</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 09:26:16 GMT</pubDate>
<item>
<title>(PHP) Regex Extension comparer - Oldarney</title>
<link>http://snipplr.com/view/24698/regex-extension-comparer/</link>
<description><![CDATA[ <p>I whipped this up after finding that my worst fears were true, pathinfo is slow. Top that with in_array and you've got your self some heavy code. Nothing like regex to speed things up.

This little code checks the extension of a path to see if it is a desired extension.

EDIT: the regex engine kills any speed benefits...</p> ]]></description>
<pubDate>Sun, 13 Dec 2009 08:02:57 GMT</pubDate>
<guid>http://snipplr.com/view/24698/regex-extension-comparer/</guid>
</item>
</channel>
</rss>