Mantis - Quercus
Viewing Issue Advanced Details
5770 minor always 07-04-14 09:55 07-04-14 09:55
tobia  
 
normal  
new  
open  
none    
none  
0005770: spl_autoload_functions() returns a list of strings that are not plain method names
This affects the latest 4.0.39, but I couldn't find it in the version popup.

With a class-based autoloader such as the one from Composer, spl_autoload_functions() returns something like this:

    array (
      0 => 'CallbackObjectMethod[Composer\\Autoload\\ClassLoader::loadClass]',
      1 => 'CallbackClassMethod[ComposerAutoloaderInite467daa0ea6e0767cd446a8d6d5d7a59::loadClassLoader]',
    )

This is different enough from what vanilla PHP would return, that it breaks this method from Doctrine: http://www.doctrine-project.org/api/common/2.2/source-class-Doctrine.Common.ClassLoader.html#217 [^]

There are no notes attached to this issue.