Re: cvs: php4 /ext/exif exif.c

From: Date: Sat, 02 Mar 2002 16:36:55 +0000
Subject: Re: cvs: php4 /ext/exif exif.c
References: 1 2  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-9595@lists.php.net to get a copy of this message
At 16:55 02.03.2002, you wrote:
At 17:48 02/03/2002, Rasmus Lerdorf wrote:
Oops, sorry, missed a bracket. You are right, you do the b || c first now. Not that it matters. a && b || c is the same as (a && b) || c is the same as a && (b || c)
It isn't. a && (b || c) is equivalent to (a && b) || (a && c). Zeev
Yep thats it. I first have to check whether or not i have 8 bytes to compare (a). *AND* only then i am allowed to compare (b,c). So it is a && (b || c) And Zeev was correct logically it is equivalent (a && b) || (a && c) So ny fault was remembering c operator precedence in wrong order. I had in mind that || comes before && but its the other way round. marcus
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.cvs (#9595) next »