search

Home  >  Q&A  >  body text

__autoload introduces class files

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? ? ?

还要我怎样还要我怎样2147 days ago1234

reply all(2)I'll reply

  • 天蓬老师

    天蓬老师2019-03-16 10:54:13

    __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.

    reply
    0
  • Cancelreply