Using `exec()` in an autoloader
The main problem I see with this is that you are assuming a few things:


I am running Linux - Are you? The production server might, but are you locally running linux as well? Maybe, but will the next collaborator/developer?
My Linux distro supports find - That also may or may not be true. Some distros will have that built in, some will not.


You are tying yourself to a specific environment, that's not good. A better approach would be to make sure that the class file sits under the path you expect it to, relatively to a file you know where it is relatively to the project.