[php-src] Issue #8349: `??` does supress `Trying to access array offset on value of type bool` notice

From: Date: Tue, 12 Apr 2022 12:07:13 +0000
Subject: [php-src] Issue #8349: `??` does supress `Trying to access array offset on value of type bool` notice
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240878@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8349 Comment Author: bwoebi This is not a bug. It's the default behaviour of isset() to do a safe, warning-free access check (and ?? shares isset() semantics). I.e. isset() does not only check the existence of a key or property, but also whether it can be dereferenced at all via the specific operator.

« previous php.bugs (#240878) next »