在php中如果是
&$b //这里是引用传址
$a & $b //这里是位运算
$a && $b //这里是逻辑运算
在ecmal中像下面这们的语句很多
is_file($conf_file) && $plugins = include($conf_file);
它相当于
if(is_file($conf_file)){
include($conf_file);
$plugins = include($conf_file);
}
也就是说 $plugins 为作为include执行结果返回的标志,而is_file($conf_file)站定是否执行下面的语句