会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
jlolox
CnBlogs
New Post
Contact
Admin
Subscription
PHP 7 常量声明 const 与 define() 的区别
PHP 7 中的常量可以通过 const 关键字或 define() 函数两种方式来声明,两者之间的差别在于:
const 关键字会在代码编译时定义一个常量
define() 函数则是在代码运行时才定义一个常量
posted @
2019-02-19 14:29
CodingPHP
Views(
1178
) Comments(
0
)
Edit
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部