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+
