PHP·98 questionsHow does autoloading work?SaveUpdated: 2026-08-31Answer•spl_autoload_register().•PSR-4 standard.•Composer autoload.•namespace = path to file.•require 'vendor/autoload.php'.Ask AI to clarifyWas this answer helpful?HelpfulNot helpfulSuggest an improvement