- var_dump: documentation ( source)
<?php
namespace foo {
class Xyz {}
function abc () {}
}
namespace bar {
use foo\Xyz;
use foo\abc;
var_dump(new Xyz()); // instantiates \foo\Xyz
var_dump(\foo\abc()); // it has to be invoked using the fully qualified name
}
?>