[php-src] Issue #7825: Add nullsafe call and index access

From: Date: Sat, 25 Dec 2021 11:46:30 +0000
Subject: [php-src] Issue #7825: Add nullsafe call and index access
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-238563@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/7825 Comment Author: KapitanOczywisty OP is probably mimicking syntax from [JS/TS](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining). Other languages are using ?[...], but as OP mentioned this would be ambiguous in php. Nullsafe call seems to be unique to javascript (+ TS, Coffee). As for future scope, this is unrelated. Also see: https://wiki.php.net/rfc/pipe-operator-v2

« previous php.bugs (#238563) next »