I want to browse all folders on my computer without using opendir(), in PHP.
Why wouldn't you want to use the function that's actually provided to do what you want?