Concept Flow - Why autoloading is needed
Start Program
Need Class
Is Class Loaded?
Yes→Use Class
No
Autoload Function Called
Load Class File
Use Class
Program Continues
The program checks if a class is loaded; if not, autoloading loads the class file automatically so the program can use it.