I really want to know how $classname is passed into the lode method
天蓬老师2018-12-07 13:59:36
spl_qutoload_register() can customize the automatic loading function. Its required parameter is your customized function. This function can also be an object method. If it is an object method, it needs to be placed in an array. The array's The first parameter is the class name, and the second parameter is the method in the class, and the class name you load will be automatically passed in as a parameter of the load method when you instantiate it