When using the __autoload method to automatically call class files, is it necessary to instantiate each class file that needs to be imported? ? ?
Isn’t this similar to require and include? ? ?
__autoload() itself automatically calls include... and other statements. In essence, it automates the loading of class files, eliminating the tedious process of manually loading many classes one by one.
__autoload() itself automatically calls include... and other statements. In essence, it automates the loading of class files, eliminating the tedious process of manually loading many classes one by one.