Re: A serious bug? "or" operator gives out diffferent results depending on order of operands

From: Date: Tue, 28 Dec 2004 01:19:47 +0000
Subject: Re: A serious bug? "or" operator gives out diffferent results depending on order of operands
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-205224@lists.php.net to get a copy of this message
On Mon, 27 Dec 2004 21:19:39 +0000, Rory Browne <rory.browne@gmail.com> wrote:
Generally however there is no need to parentisize everything to the right of the assignment operator(=), since besides 'and', 'or', 'xor', and the comma operator. The only time I see the need to parentisize everything to the right is when using the xor operator, since there is no equivlent above the = operator.
$a = $b ^^ $c; -- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ http://www.smempire.org

« previous php.general (#205224) next »