3v4l.org

run code in 300+ PHP versions simultaneously
<?php namespace foo { class Xyz {} function abc () {} } namespace bar { use foo\Xyz; use foo\abc; class Xyz {} function abc () {} new Xyz(); // instantiates \foo\Xyz new namespace\Xyz(); // instantiates \bar\Xyz abc(); // invokes \bar\abc regardless of the second use statement \foo\abc(); // it has to be invoked using the fully qualified name } ?>

This is an error 404

There are `0` results


preferences:
149.48 ms | 1390 KiB | 7 Q