I use composer
to manage my dependencies and class loading. This tool uses spl_autoload_register
function.
I would like to use a PHP's extension that provides some classes with same definition (name, namespacing, functionnalities) than others classes defined throught composer.
Which class will PHP load? The extension's one, or the autoload's one, or maybe the PHP's comportment is undefined?