摘要:
Logical OperatorsExampleNameResult$a and $bAndTRUE if both $a and $b are TRUE.$a or $bOrTRUE if either $a or $b is TRUE.$a xor $bXorTRUE if either $a or $b is TRUE, but not both.! $aNotTRUE if $a is n... 阅读全文
摘要:
Comparison OperatorsExampleNameResult$a == $bEqualTRUE if $a is equal to $b.$a === $bIdenticalTRUE if $a is equal to $b, and they are of the same type. (introduced in PHP 4) $a != $bNot equalTRUE if $... 阅读全文