php类中静态变量与常亮的区别
在效率上:常量编译过程比静态变量快的多。 代码: <?php error_reporting(E_ALL); class A { const c = 9; publi ...
在效率上:常量编译过程比静态变量快的多。 代码: <?php error_reporting(E_ALL); class A { const c = 9; publi ...