<?php
namespace foo;
function bitch(){
return 1;
}
namespace bar;
function bitch(){return 2;}
namespace my;
use bar as doo;
echo doo\bitch();
$a = new stdclass();
var_dump($a);
2
Fatal error: Uncaught Error: Class "my\stdclass" not found in /in/CVYsS:17
Stack trace:
#0 {main}
thrown in /in/CVYsS on line 17
Process exited with code 255.
2
Fatal error: Uncaught Error: Class 'my\stdclass' not found in /in/CVYsS:17
Stack trace:
#0 {main}
thrown in /in/CVYsS on line 17
Process exited with code 255.