RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Ford, Mike
> -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?

RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Arno Kuhl
-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

RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Arno Kuhl
-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

Re: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread Sebastian Krebs
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)

RE: [PHP] Re: UNLESS Statement Equivalent

2013-03-12 Thread 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) in front of > your > expression, and you'