<?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/language/php/tags/inarray</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 27 May 2013 12:56:04 GMT</pubDate>
<item>
<title>(PHP) Recursive in_array - FeN_X</title>
<link>http://snipplr.com/view/59099/recursive-inarray/</link>
<description><![CDATA[ <p>Find one or all values of an array in another array.</p> ]]></description>
<pubDate>Mon, 26 Sep 2011 21:28:02 GMT</pubDate>
<guid>http://snipplr.com/view/59099/recursive-inarray/</guid>
</item>
<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>
<item>
<title>(PHP) find needle w/ wildcard in an array - canarymason</title>
<link>http://snipplr.com/view/19069/find-needle-w-wildcard-in-an-array/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 31 Aug 2009 13:08:18 GMT</pubDate>
<guid>http://snipplr.com/view/19069/find-needle-w-wildcard-in-an-array/</guid>
</item>
</channel>
</rss>