defined () 函数检查某常量是否存在。 若常量存在,则返回true,否则返回false。 ... <?php define("GREETING","Hello world!"); echo defined("GREETING"); ?>.
確定! 回上一頁