I’m working on a script that when ran uses glob() to get all the files from a directory that is passed through an arg, and then check their modification time. Is it possible to have glob() go through the files in the dir, and the files in the sub dirs?
Share
Is
glob()a requirement? For a recursive implementation I prefer usingRecursiveDirectoryIterator(). This does the same job in a much more readable way.