Problem Statement
Which PHP feature automatically loads classes when they are needed?
Explanation
Autoloading allows PHP to automatically include the required class file when an object is created. It removes the need for manual include statements.
Code Solution
SolutionRead Only
spl_autoload_register(function($class){ include $class.'.php'; });