note 16401 deleted from language.operators.assignment by jimw
| From: | jimw@php.net | Date: | Sun, 28 Oct 2001 18:34:22 +0000 |
| Subject: | note 16401 deleted from language.operators.assignment by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19531@lists.php.net to get a copy of this message | ||
note that there are no combined (logical + assignement) operators :
$a &&=1;
$b ||=0;
WON'T WORK.
Instead, try:
$a && $a=1;
$b || $b=0;