<?php
namespace foo {
class Xyz {}
function abc () {}
}
namespace bar {
use foo\Xyz;
use foo\abc;
new Xyz(); // instantiates \foo\Xyz
abc(); // invokes \bar\abc regardless of the second use statement
\foo\abc(); // it has to be invoked using the fully qualified name
}
?>
Fatal error: Uncaught Error: Call to undefined function bar\abc() in /in/JfaGD:23
Stack trace:
#0 {main}
thrown in /in/JfaGD on line 23
Process exited with code 255.
Output for 7.3.0 - 7.3.1
Fatal error: Uncaught Error: Call to undefined function abc() in /in/JfaGD:23
Stack trace:
#0 {main}
thrown in /in/JfaGD on line 23
Process exited with code 255.