2020年04月06日 php7 新特性笔记 原创 新特性class A { private $x = 1;}// PHP 7+ 代码$f = function() { return $this->x + 1;};echo $f->call(new A); //得到值:2新函数intdiv(10,3); /