时间:2021-07-01 10:21:17 帮助过:22人阅读
??? define("TEST_ATTR","hhhhhhh"); ??? echo TEST_ATTR;
?
define相当于java中的constant用来定义一个常量;
defined() 函数检查某常量是否存在。
若常量存在,则返回 true,否则返回 false。
define("GREETING","Hello world!"); echo defined("GREETING") ;
defined("GREETING")
< 上一篇
php汉语转拼音函数
下一篇 >
php兑现url跳转教程网址
记住我的登录 忘记密码?
登录
我已阅读用户协议及版权声明
注册