spl_autoload_register - Registers the specified function as an implementation of the __autoload () method

We look at the source code Composer

spl_autoload_register(array('ComposerAutoloaderInit$suffix', 'loadClassLoader'), true, $prependAutoloader); self::\$loader = \$loader = new \\Composer\\Autoload\\ClassLoader(); spl_autoload_unregister(array('ComposerAutoloaderInit$suffix', 'loadClassLoader')); 

They pass an array and not a function ... Or is there an array of functions?

0