<?php// foo.phpnamespace foo;class bar { function __construct() { echo get_called_class(); }}?>
<?phprequire './foo.php';use foo\bar as b;$a = new b;?>