关于is_null()函数的提示错误如何解除?

浏览:766 发布日期:2015/07/10 分类:求助交流 关键字: is_null,函数,提示错误
if(!is_null(cookie('auto'))){
echo "123";
}
这段代码中提示--->syntax error, unexpected 'if', expecting 'function'
可是我用zend study 查看的时候发现有这个函数存在啊,怎么会报错?
standard.php第5514--5522存在此函数,为何出错?
/**
* Finds whether a variable is &null;
* @link http://www.php.net/manual/en/function.is-null.php
* @param var mixed <p>
* The variable being evaluated.
* </p>
* @return bool true if var is null, false
* otherwise.
*/
function is_null ($var) {}
最佳答案
评论( 相关
后面还有条评论,点击查看>>