On Jan 19, 2008, at 738PM, Wade Preston Shearer wrote:
Is…
if($var != 'a' || 'b')
valid syntax?
Yes.
If yes, is it the same as…
if($var != 'a' && $var != 'b')
No. It is the same as if($var != 'a' || 'b' == true) Brady _______________________________________________ UPHPU mailing list [email protected] http://uphpu.org/mailman/listinfo/uphpu IRC: #uphpu on irc.freenode.net
