[php-src] Issue #8349: `isset` (and `??` operator) must emit a notice if the inner expression is non-array

From: Date: Tue, 12 Apr 2022 13:21:57 +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-240895@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8349 Comment Author: mvorisek here is a better example with parenthesis: https://3v4l.org/MpqMB I know, they have no effect, but they stress the idea, why the inner expression should not be affected, thus this feature request, only the outer notice by [] operator must be supressed > Who determines whether a Feature is sensible? and small feature requests not requiring should be keep open? I propose to keep things as they are and impl. such bot only after this is a real issue. Maybe we will find a better way later or we might be gifted by Github with a feature for it :)

« previous php.bugs (#240895) next »