define

  • PHP define和const的区别

    在PHP 5.3中有两种定义常量的方法:使用const关键字或使用define()函数: 这两种方法的根本区别在于,const在编译时定义常量,而define在运行时定义它们。这导…

    2020年10月20日
    0200