文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>define和defined

define和defined

时间:2008-02-27  来源:octans

define -- Defines a named constant

define("CONSTANT", "Hello, world");//定义常量

defined -- Checks whether a given named constant exists
if (defined('CONSTANT')) {
    echo CONSTANT;
}

isset(), to see if a variable exists
function_exists(), to see if a function exists


相关阅读 更多 +
排行榜 更多 +
萌趣贪吃蛇

萌趣贪吃蛇

休闲益智 下载
粘液快跑

粘液快跑

休闲益智 下载
一个不能跑

一个不能跑

休闲益智 下载