Home  >  Q&A  >  body text

How does the parameter $class of the spl_autoload_register(function($class){} callback function identify the class to be loaded?

spl_autoload_register(function($class){}How does the parameter $class of the callback function identify the class to be loaded? Are automatically loaded classes under the same root file all identifiable by $class?

安超安超517 days ago446

reply all(1)I'll reply

  • WBOY

    WBOY2023-01-18 19:04:34

    Tell me the specific situation

    reply
    0
  • Cancelreply