<?php
/**
* Created by PhpStorm.
* User: 廖广
* Date: 2019/4/4
* Time: 21:09
*/
namespace current;
include 'inc/Class1.php';
$obj=new \code\inc\Class1();
//$obj=new Class1();
echo get_class($obj).'<br>';
echo '<hr>';
//use \code\inc\Class1 as C1;
use code\inc\Class1 as C1;
$obj=new C1;
echo get_class($obj).'<br>';
//类空间的别名导入