<?php
namespace one;
//use one as three;
class test2{
public function result(){
echo '1';
}}
namespace one\twoq\three;
class test{
public function result(){
echo '201a';
}}
namespace one\two;
class test{
public function result(){
echo '0';
}}
$test = new three\test();
$test->result();
Fatal error: Uncaught Error: Class "one\two\three\test" not found in /in/LKQuT:24
Stack trace:
#0 {main}
thrown in /in/LKQuT on line 24
Process exited with code 255.
Fatal error: Uncaught Error: Class 'one\two\three\test' not found in /in/LKQuT:24
Stack trace:
#0 {main}
thrown in /in/LKQuT on line 24
Process exited with code 255.