Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:101625 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 96506 invoked from network); 19 Jan 2018 15:12:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Jan 2018 15:12:33 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.216.176 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.216.176 mail-qt0-f176.google.com Received: from [209.85.216.176] ([209.85.216.176:34141] helo=mail-qt0-f176.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3E/DC-12394-FDA026A5 for ; Fri, 19 Jan 2018 10:12:32 -0500 Received: by mail-qt0-f176.google.com with SMTP id 33so4544160qtv.1 for ; Fri, 19 Jan 2018 07:12:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=golemon-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=GfL9Ycbm59DMEn5Pw212ed28dj7v74L74Kck7SEcM8A=; b=ddezdv/g5UgRWH1vVCuTnhFkaYcMSKcGAmWnz/VDIuNUGLchXLkZy92Gl2s+YOHgJR WM+U78ZOYXCwHWnw46lS8bOChpzWqiyYLUuLeS0q0RL/JCzovHScYE7vEUtjw+ZZoDQV cUoCjiXo0N/w74ItpXjNw05AzvWm2gZmumoe0eMxH/8ZdYZCiRLtIha9U8ezAP9Y7Y4/ eCY5lZ26MraMeooFLz3Ex7Gh4wGEYwLfuo0w2A/E4zQRY+5LOWAllbfPD/4sAsPxc7n4 CiGO0h2WzH6z3mKf8D1dC8Fv9lKgCKS4cXwYRY6rq84IGSdC7HEbQJ8eQcJj69sAaYIa TRzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=GfL9Ycbm59DMEn5Pw212ed28dj7v74L74Kck7SEcM8A=; b=tlH40BMiTQKd4vZLxQ1Os6pwlh9pP8bIDvFsJowstmorggcagcfxawy7Kzwg9MZBDV Eaxkih55qzaTkBsENiUJvH4oF62WMNu1cXjRTOVU3YDsVx8LRjUeodMDGcyBraK4Whbk hEmQrM6vozKXn4yv9fGPsj5YJD4+rZd523lNb0Ra6imIX1RfDMW8zBjLDtG/n5q8Z78c GufEMfRJ797zgRLC48flono9ch33Rr/RGclDbM661aNqbGR4b/KYPY+V6nvWa2Vv6H0w piDscDlZ5TVFzl5xx1UsVue4qvC0iWejGu4WrktsfBHE9F32DhGoQQdtumfy31S2yBp+ JT8w== X-Gm-Message-State: AKwxytd7sTEggh+mUdWl+20cruquePa4Jh3/bST+lDc7EyFvRqsV86Ig blsNsUCNFuYRB6EgC7pJ1iaXgRZUs7M2kbCB6xxWZA== X-Google-Smtp-Source: AH8x226NzRdCD9ueqr1M0flrEKCdOrmC7+XXE+C29sYW6fe/fJdYWD9+Pbh+QRa821Yh8iiWY8J5hRCze+YyXERIR/g= X-Received: by 10.233.214.3 with SMTP id r3mr6122001qkk.81.1516374748992; Fri, 19 Jan 2018 07:12:28 -0800 (PST) MIME-Version: 1.0 Sender: php@golemon.com Received: by 10.12.197.144 with HTTP; Fri, 19 Jan 2018 07:12:28 -0800 (PST) X-Originating-IP: [206.252.215.26] In-Reply-To: <3aa2372c-c31a-d41a-f455-35ce400b382b@gmx.de> References: <9a4e54d1-10d8-889e-e705-fe473e2e3713@gmail.com> <3aa2372c-c31a-d41a-f455-35ce400b382b@gmx.de> Date: Fri, 19 Jan 2018 10:12:28 -0500 X-Google-Sender-Auth: daAnJxDAyxkgJ4MqYYVasB1RC5w Message-ID: To: "Christoph M. Becker" Cc: Stanislav Malyshev , Andreas Hennings , PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] null coalesce addition assignment operator ??+= From: pollita@php.net (Sara Golemon) On Thu, Jan 18, 2018 at 7:13 PM, Christoph M. Becker wrote: > On 18.01.2018 at 23:58, Stanislav Malyshev wrote: > >>> 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 :) > > Why do we discuss extensions to an operator which has still (after > nearly two years) not be implemented due to implementation difficulties? > Am I the only one who looked at the original post and assumed he was taking the piss? Similar to the jokes about spaceship assignment <=>= and equality/identicality assignment === (not to be confused with identical non-assign, which is ===) and ====. -Sara