The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Threaded View

Finaly done, Recursive Directory Iterator

Hey there,

I've been strugling with this for over a few days now, i am working on a new framework, but my main issue with this is that it has to be able to contain itself through reflections and captures, for example, when an class is called abstract or an instance has to be made from a class this package just calls the right class for it, but my application does not use any require_once or include_once except for interfaces, so we all know that __autoload solves this problem if you know where the file you need is, if not, i wanted my application to search for it, with no matches it would throw an exception and will inform the user that this class does not exists in the project's tree scope.

But the problem was the fact that i was not able to do an actual search from a path up to it's last director, i tried a traversable directory reader, but it just didn't fit my needs, so i did found a solution to read out an entire tree of directories and search on the found results.