聘我网

新概念招聘3.0

“boolean and include ..” 能行但是“boolean and unset($v)"就报错?

vote up0vote downstar

这没错:

!function_exists('testfunc') and include("testfunc.php");

这就会报错:

!function_exists('testfunc') and unset($q);

这两者不是一回事么?

 

1 个答复

vote up0vote downcheck

unset没有返回值(void

include有返回值。

链接

您的回答





不是您要找的问题? 浏览其他含有标签 的问题或者 自己问个.