class Test{ function __invoke(){ echo 'hello word'; } } $obj = new Test(); $obj();. // 对象被当作函数调用的时候,自动执行. 0 0. 大话PHP设计 ...
確定! 回上一頁