Re: null coalesce addition assignment operator ??+=
| From: | Stanislav Malyshev | Date: | Thu, 18 Jan 2018 22:58:22 +0000 |
| Subject: | Re: null coalesce addition assignment operator ??+= | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101621@lists.php.net to get a copy of this message | ||
Hi!
> I propose even more such operators:
> null coalesce addition assignment ??+= (for strings and numbers)
> null coalesce subtraction assignment ??-=
> null coalesce increment ??++
> null coalesce decrement ??--
> null coalesce multiplication assingment ??*=
I think this is taking it too far. If you want language like that, you
always have APL :)
--
Stas Malyshev
smalyshev@gmail.com