文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
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


相关阅读 更多 +
排行榜 更多 +
空中跑酷汉化版

空中跑酷汉化版

赛车竞速 下载
修仙传说

修仙传说

角色扮演 下载
魔界零之迷宫

魔界零之迷宫

冒险解谜 下载