您好,欢迎访问一九零五行业门户网

PHP有没有USE这个关键词解决方案

php有没有use这个关键词
我看的一些php的资料好像都没有use。但是刚才看一个框架时发现里面用到了use。
------解决方案--------------------
我猜 没有吧
------解决方案--------------------
这个不明白啊
------解决方案--------------------
好像是给一个类定义别名:如下
use class3 as another;
use class3 as another1;
use class3 as another2;
$obj = new another; //
$obj = new another1; // 
$obj = new another2; //
------解决方案--------------------
php 5.3+
其它类似信息

推荐信息