Idea is this:
- you code it in such a way so when you add new classes, you never have to edit your __autoload function / includes ever again.
- it's slower than normal includes. (not 100% sure by how much, but on some profiling with a heavy code, the autoload spent around 40% of the time of the script... includes for the same script were 20%)
Bookmarks