As far as the ability to access more than one directory, no. However, if you create a function, then all you have to do is call the function for each directory.
You could also make the function recursive. If you combine your code with glob($path, GLOB_ONLYDIR), you could iterate through not only the "current" directory, but through every child directory as well. I don't have time to write the code now, but if you need help with this concept, let me know, and I'll come up with something (unless someone else does first).
Good Luck!