Re: Who to check "false" ?

From: Date: Tue, 02 Jan 2001 20:12:34 +0000
Subject: Re: Who to check "false" ?
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-4739@lists.php.net to get a copy of this message
PHP defines the constants true and false. To check if something is false, just see if it's not true, like this: if (! $myBool) doSomething(); A word of caution: some variables will not evaluate as you might expect them to. Good idea to check the manual ;) Toby Butzon [ criticism spurs improvement ] ----- Original Message ----- From: "barter" <barter@barter-bb.com> To: "list" <php-windows@lists.php.net> Sent: Sunday, December 31, 2000 6:04 AM Subject: [PHP-WIN] Who to check "false" ? : I could not find any documentation about simple checking : for false (or true). : : what are the best ways for that ? : : Hezy : : : -- : PHP Windows Mailing List (http://www.php.net/) : To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net : For additional commands, e-mail: php-windows-help@lists.php.net : To contact the list administrators, e-mail: php-list-admin@lists.php.net : :

« previous php.windows (#4739) next »