class testClass{ public function __invoke{print “hello world”;}} $n = new testClass;$n();
class testClass{
public function __invoke{print “hello world”;}}
$n = new testClass;$n();
执行结果为:
hello world。
我一直认为PHP的运行速度是非常的理想的,尤其是Zend引擎的加速之后。但是PHP仍然有加...