Re: Supports to ?:= assignment operator

From: Date: Wed, 11 Nov 2020 16:43:22 +0000
Subject: Re: Supports to ?:= assignment operator
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-112223@lists.php.net to get a copy of this message
Hi, Den 2020-11-11 kl. 17:18, skrev David Rodrigues:
Hello! PHP currently supports ??= assignment, as shortly to $a = $a ?? null, but it does not supports ?:= as shortly to $a = $a ?: null. There are some reason to that? - https://wiki.php.net/rfc/null_coalesce_equal_operator - https://wiki.php.net/rfc/short_ternary_equal_operator Thanks! Atenciosamente, David Rodrigues
Work on this was done by Sara Golemon during 2016. I recall that the voting was closed, see: - https://externals.io/message/91901 Maybe time to bring it forward again for PHP 8.1? r//Björn Larsson

« previous php.internals (#112223) next »