<documentation title="Space After NOT operator">
<standard>
<![CDATA[
Exactly one space is allowed after the NOT operator.
]]>
</standard>
<code_comparison>
<code title="Valid: A NOT operator followed by one space.">
<![CDATA[
if (!<em> </em>$someVar || !<em> </em>$x instanceOf stdClass) {};
]]>
</code>
<code title="Invalid: A NOT operator not followed by whitespace or followed by too much whitespace.">
<![CDATA[
if (!<em></em>$someVar || !<em></em>$x instanceOf stdClass) {};
if (!<em> </em>$someVar || !<em>
</em>$x instanceOf stdClass) {};
]]>
</code>
</code_comparison>
</documentation>
|