Forum

What is autoloading...
 
Notifications
Clear all

What is autoloading classes in PHP?


(@elias)
Illustrious Member
Joined: 5 months ago
Posts: 4277
Topic starter  

What is autoloading classes in PHP?


   
Quote
(@elias)
Illustrious Member
Joined: 5 months ago
Posts: 4277
Topic starter  

By registering autoloaders, PHP is given a last chance to load the class or interface before it fails with an error. Any class-like construct may be autoloaded the same way. That includes classes, interfaces, traits, and enumerations.


   
ReplyQuote
Share: