摘要: Operator PrecedenceAssociativityOperatorsAdditional Informationnon-associativeclone newclone and newleft[array()non-associative++ --increment/decrement non-associative~ - (int) (float) (string) (array... 阅读全文
posted @ 2010-07-28 11:00 浪淘沙(Jeff.Liu) 阅读(371) 评论(0) 推荐(0) 编辑
摘要: 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... 阅读全文
posted @ 2010-07-28 10:43 浪淘沙(Jeff.Liu) 阅读(500) 评论(0) 推荐(0) 编辑
摘要: 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 $... 阅读全文
posted @ 2010-07-28 10:40 浪淘沙(Jeff.Liu) 阅读(1174) 评论(0) 推荐(0) 编辑