Archive for March 21st, 2012

Recursive glob() VS. RecursiveDirectoryIterator

The glob() function has been around since PHP4 and it is a very widely used function. Below is an example of a basic recursive glob function as found on I did take the liberty of renaming it to “rglob” I felt it was cleaner. 1 2 3 4 5 6 7 8 9 10 […]