<?php
namespace testing {
class Example{
function testOutput() {
echo 't';
}
}
}
namespace test {
use testing as t;
use t\Example;
$example = new Example();
$example->testOutput();
}
Fatal error: Uncaught Error: Class "t\Example" not found in /in/NoQqa:15
Stack trace:
#0 {main}
thrown in /in/NoQqa on line 15
Process exited with code 255.
Fatal error: Uncaught Error: Class 't\Example' not found in /in/NoQqa:15
Stack trace:
#0 {main}
thrown in /in/NoQqa on line 15
Process exited with code 255.