note 107992 deleted from language.operators.logical by danbrown
| From: | danbrown@php.net | Date: | Thu, 10 May 2012 18:00:06 +0000 |
| Subject: | note 107992 deleted from language.operators.logical by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-187700@lists.php.net to get a copy of this message | ||
Note Submitter: snorrra at gmail dot com
----
Re brad at bradleyproctor dot com
if ($foo) {
$foo = 5;
}
Can't be replaced with
$foo or $foo = 5;
But it can be replaced with
$foo and $foo = 5;