I am builded a new object in my file without namespaces:
new My\Validator();
Above, in the same file I have got __autoload():
function __autoload($className)
{
var_dump($className);
}
The __autoload()
function prints
'My\My\Validator'.
Where is the double 'My'
come from?