[php-src] Issue #8349: `isset` (and `??` operator) must emit a notice if the inner expression is non-array
| From: | bwoebi | Date: | Tue, 12 Apr 2022 13:40:31 +0000 |
| Subject: | [php-src] Issue #8349: `isset` (and `??` operator) must emit a notice if the inner expression is non-array | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-240896@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8349
Comment Author: bwoebi
@mvorisek Parenthesis are abstracted away upon AST construction, they have no deeper meaning except
providing explicit operator grouping instead of the default precedence.
Wrapping something in a parenthesis does not magically separate values.
$a and
($a) are identical for everything the compiler is concerned with. (like ($a)[0] =
1; does a write to $a.)