摘要: __call()函数是php类的默认魔法函数,__call() 在一个对象的上下文中,如果调用的方法不存在的时候,它将被触发: 1 runTest('in object context');运行结果:Calling object method 'runTest' in object context 阅读全文
posted @ 2014-03-16 14:31 a06062125 阅读(99) 评论(0) 推荐(0)