RE: [PHP] ! and !=
| From: | Ford, Mike | Date: | Thu, 23 Apr 2009 11:40:01 +0000 |
| Subject: | RE: [PHP] ! and != | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-291854@lists.php.net to get a copy of this message | ||
On 23 April 2009 01:05, George Langley advised:
> Doh, of course! Just not thinking about the scope of
> the operator. If $var1 = 1, then !$var1 = 0....
> Thanks everyone!
Well, actually, to be strictly accurate, since ! is a Boolean operator,
if $var1 = 1 then !$var1 = FALSE.
Cheers!
Mike
--
Mike Ford, Electronic Information Developer,
C507, Leeds Metropolitan University, Civic Quarter Campus,
Woodhouse Lane, LEEDS, LS1 3HE, United Kingdom
Email: m.ford@leedsmet.ac.uk
Tel: +44 113 812 4730
To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm