Yes you can do it. In fact, this is exactly what autoload does, anyway, since __autoload() itself a function, and you usually use it to find a loadable class file.
If you manually include your class files like this, you will certainly want to use require_once() rather than include() or require() , otherwise you will get a duplicate class declaration.
zombat
source share