<?php namespace One\Thing\Foo { class A { function __construct() { echo "I am class A in namespace One\Thing\Foo\n"; } } function b() { echo "I am function b in namespace One\Thing\Foo\n"; } } namespace Two\My\Foo { class A { function __construct() { echo "I am class A in namespace Two\My\Foo\n"; } } function b() { echo "I am function b in namespace Two\My\Foo\n"; } } namespace Two\My { use One\Thing\Foo; new Foo\A; Foo\b(); new namespace\Foo\A; namespace\Foo\b(); }
You have javascript disabled. You will not be able to edit any code.