> -Original Message-
> From: Arno Kuhl [mailto:a...@dotcontent.net]
> Sent: 12 March 2013 13:04
>
> Mike, I presume you're saying the precedence of the Boolean keyword
> operators is lower than the Boolean symbol operators, but if so then
> wouldn't there be less need for the parentheses?
-Original Message-
From: Ford, Mike [mailto:m.f...@leedsmet.ac.uk]
Sent: 12 March 2013 10:51 AM
To: PHP General
Subject: RE: [PHP] Re: UNLESS Statement Equivalent
> unless ( $a and $b )
> =
> if ( ! ($a and $b) )
>
> So in simple terms, just stick a ! (or the keyword n
-Original Message-
From: Ford, Mike [mailto:m.f...@leedsmet.ac.uk]
Sent: 12 March 2013 10:51 AM
To: PHP General
Subject: RE: [PHP] Re: UNLESS Statement Equivalent
> unless ( $a and $b )
> =
> if ( ! ($a and $b) )
>
> So in simple terms, just stick a ! (or the keyword n
2013/3/12 Ford, Mike
> > -Original Message-
> > From: Maciek Sokolewicz [mailto:tula...@gmail.com] On Behalf Of
> > Maciek Sokolewicz
> > Sent: 11 March 2013 22:44
> >
>
> > unless ( $a and $b )
> > =
> > if ( ! ($a and $b) )
> >
> > So in simple terms, just stick a ! (or the keyword not)
> -Original Message-
> From: Maciek Sokolewicz [mailto:tula...@gmail.com] On Behalf Of
> Maciek Sokolewicz
> Sent: 11 March 2013 22:44
>
> unless ( $a and $b )
> =
> if ( ! ($a and $b) )
>
> So in simple terms, just stick a ! (or the keyword not) in front of
> your
> expression, and you'
On 11-3-2013 22:32, Angela Barone wrote:
I'm looking for an 'unless' statement, but as far as I can tell, PHP
doesn't have one. Hopefully someone can help me rewrite my statement.
In English, I want to say: "always do something UNLESS these 3 conditions
are met".
The
6 matches
Mail list logo