Func misc define:修订历史

本页内容
上一节: Func_misc_constant 下一节: Func_misc_defined

差异选择:选中要对比的版本的单选按钮,按Enter键或下方的按钮。
说明:(当前)=与最后版本之间的差异,(之前)=与上一版本之间的差异,=小编辑。

    2022年8月17日 (星期三)

    • 当前之前 22:262022年8月17日 (三) 22:26Neo 讨论 贡献 1,680字节 +1,680 创建页面,内容为“{{DISPLAYTITLE:define()}}4 = PHP define() 函数 = PHP Misc 参考手册 定义一个大小写敏感的常量: <sample title="" desc="" lang="php" hererun="1">example_start <?php define("GREETING","Hello you! How are you today?"); echo constant("GREETING"); ?> example_end</sample> == 定义和用法 == define() 函数定义一个常量。 常量类似变量,不同之处在于: * 在设定以后,常量…”
上一节: Func_misc_constant 下一节: Func_misc_defined