personally, i don't think a precedence tutorial can be complete without touching on the difference between && and || vs and and or.
this bug bit me yesterday:
return $this and $that and is_ok($this, $that);
In reply to Re: Precedence for Idiots
by mreece
in thread Precedence for Idiots
by Melly
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |