php自动加载带命名空间类的函数

  1. 代码:
  2. 测试:
    autoloader('a');
    use a\config;
    $config = new config();
    $config->say();
  3. 输出:
    hello

当前文章:php自动加载带命名空间类的函数
链接分享:http://myzitong.com/article/jgephi.html