Profile
Achievement
Oldarney's Recent SnippetsTagged extension
- All /
« Prev 1 Next »
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 i...
0
693
posted 15 years ago by Oldarney