I want to include many PHP files from many subdirectories. But it will be very annoying if I have to use include for each subdirectory.
For example:
include "./subdir1/*.php";
include "./subdir2/*.php";
include "./subdir3/*.php";
So, is there a way to include all files from all subdirectories from a directory just with one include
statement?