PHP const 关键字
定义和用法
The const
keyword is used to create constants. Unlike with the define()
function, constants created using the const
keyword must be declared in the global scope.
相关页面
在我们的 PHP 常量教程 中了解更多关于常量的信息。
更多示例
❮ PHP 关键字
If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail:
[email protected]
If you want to report an error, or if you want to make a suggestion, send us an e-mail:
[email protected]