note 84266 deleted from control-structures.if by mgf
| From: | mgf@php.net | Date: | Mon, 07 Jul 2008 12:51:05 +0000 |
| Subject: | note 84266 deleted from control-structures.if by mgf | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-141237@lists.php.net to get a copy of this message | ||
Note Submitter: daunt28985 at mypacks dot net
----
You can use the ! operator. However, this will NOT work like:
if( !3 == $A )
It will only work like:
if( !( 3 == $A ) )
All this does is reverse the Boolean value of the statement.