php限定符\导入类和命名空间导入类的区别
- use Exception;
try{}catch(Exception $exception){} - try{}catch(\Exception $exception){}
有什么区别?哪种方式较好
推荐文章: