📜  php代码示例中的双管道

📅  最后修改于: 2022-03-11 14:54:22.678000             🧑  作者: Mango

代码示例1
// The result of the expression (false || true) is assigned to $e
// Acts like: ($e = (false || true))
$e = false || true;

// The constant false is assigned to $f and then true is ignored
// Acts like: (($f = false) or true)
$f = false or true;