摘要: 类的自动加载: 方法一:spl_autoload_register(function($className){ require $className.".php"; }); $imooc = new Imooc(); 方法二: 类方法和类属性的调用: 阅读全文
posted @ 2018-10-22 15:15 微笑范特西 阅读(228) 评论(0) 推荐(0) 编辑