I can get directory modification time with recursive method (scandir), but if directory was empty or new empty directory was created by mkdir:
mkdir('newdir');
// how get 'newdir' modification time
I search similar posts and google pages but problem not solved
You are looking for
filemtime: