<?xml version="1.0" encoding="windows-1252"?>
<node id="587212" title="Re: Precedence for Idiots" created="2006-12-01 10:28:33" updated="2006-12-01 05:28:33">
<type id="11">
note</type>
<author id="566245">
mreece</author>
<data>
<field name="doctext">
a little whitespace around your operators would make this more readable!
&lt;p&gt;
personally, i don't think a precedence tutorial can be complete without touching on the difference between &lt;c&gt;&amp;&amp;&lt;/c&gt; and &lt;c&gt;||&lt;/c&gt; vs &lt;c&gt;and&lt;/c&gt; and &lt;c&gt;or&lt;/c&gt;.
&lt;p&gt;
this bug bit me yesterday:
&lt;c&gt;
  return $this and $that and is_ok($this, $that);
&lt;/c&gt;
</field>
<field name="root_node">
587193</field>
<field name="parent_node">
587193</field>
</data>
</node>
