文章目录[隐藏]
public function -run($type){ $type->vers<strong style="color:transparent">本文来源gaodai#ma#com搞@@代~&码*网/</strong><strong>搞gaodaima代码</strong>ion(); $type->work();}
函数的值怎么能是函数呢,函数的值到底是怎么规定的
回复讨论(解决方案)
函数的参数可以是任何数据(当然你可以自己限定)
在你示例的代码中 $type 就是一个对象