"Skippy" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I just wanted to make things clear, because the way you said it above may
> lead to misinterpretations, such as believing that || makes all the
elements
> in a condition evaluate even if not necessary, which is not true.
>
> So
On 25 July 2004 21:16, Skippy wrote:
> Any idea why the need to have two logical operators with the
> same meaning BUT
> different precedences? I dig the need to put in OR as an
> alias, but why
> confuse people with the precedence issue? One would tend to
> think || and OR
> are perfectly inter
On Mon, 26 Jul 2004 11:11:21 +0300, Skippy <[EMAIL PROTECTED]> wrote:
Quoting Thomas Goyne <[EMAIL PROTECTED]>:
On Sun, 25 Jul 2004 23:15:41 +0300, Skippy <[EMAIL PROTECTED]> wrote:
> Any idea why the need to have two logical operators with the same
> meaning BUT
> different precedences? I dig the
On Sun, 25 Jul 2004 15:42:42 +0200 "rush" <[EMAIL PROTECTED]> wrote:
> "Jason Davidson" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > ah right.. :)
> > Jason
>
> OR has a very low priority , and right argument is not evaluated if left
> one is true.
Same thing happens with ||,
"Jason Davidson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> ah right.. :)
> Jason
OR has a very low priority , and right argument is not evaluated if left one
is true. In other words OR is here so that you could in pre exception
handling days easily write something like this:
m
ah right.. :)
Jason
On Sat, 24 Jul 2004 19:50:17 +, Curt Zirzow
<[EMAIL PROTECTED]> wrote:
> * Thus wrote Jason Davidson:
> > OR is also bitwise is it not?
>
> No, | is bitwise
>
> Curt
> --
> First, let me assure you that this is not one of those shady pyramid schemes
> you've been hearing
* Thus wrote Jason Davidson:
> OR is also bitwise is it not?
No, | is bitwise
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
OR is also bitwise is it not?
Jason
On Sat, 24 Jul 2004 21:23:13 +0400, Stan F <[EMAIL PROTECTED]> wrote:
> Operations OR and || have different execution priorities. I'd prefer "||" as
> it's "more important" so not so many parentheses needed to ensure the order
> of interpretation is exactly wha
Operations OR and || have different execution priorities. I'd prefer "||" as
it's "more important" so not so many parentheses needed to ensure the order
of interpretation is exactly what u need.
- Original Message -
From: "Tularis" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday
9 matches
Mail list logo