[php-src] Issue #8312: Add boolean assignment operators
| From: | cmb69 | Date: | Thu, 07 Apr 2022 14:03:07 +0000 |
| Subject: | [php-src] Issue #8312: Add boolean assignment operators | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240754@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8312
Comment Author: cmb69
@KapitanOczywisty, that is actually what I find most confusing. Consider
$a = 0; $a
&&= $b. Would that result in $a === false? Analogous for $a =
"foo"; $a ||= $b.