各位大牛
\home\a.php
a.php: content<<<start
namespace aa;
class bb{
public function index(){
}
}
End;
include /home/a.php
content<<<start
include '/home/a.php'
$class = new \aa\bb;
$class->index():
End;
Error:<<<
Fatal error: Class 'aa\Filters' not found i
>>>
求大牛看看问题所在.为什么不能new 命名空间的class!感谢!
\home\a.php
a.php: content<<<start
namespace aa;
class bb{
public function index(){
}
}
End;
include /home/a.php
content<<<start
include '/home/a.php'
$class = new \aa\bb;
$class->index():
End;
Error:<<<
Fatal error: Class 'aa\Filters' not found i
>>>
求大牛看看问题所在.为什么不能new 命名空间的class!感谢!