Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91899 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 16544 invoked from network); 24 Mar 2016 15:46:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2016 15:46:41 -0000 Authentication-Results: pb1.pair.com smtp.mail=mtkocak@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=mtkocak@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.45 as permitted sender) X-PHP-List-Original-Sender: mtkocak@gmail.com X-Host-Fingerprint: 74.125.82.45 mail-wm0-f45.google.com Received: from [74.125.82.45] ([74.125.82.45:36522] helo=mail-wm0-f45.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/10-15440-0EB04F65 for ; Thu, 24 Mar 2016 10:46:41 -0500 Received: by mail-wm0-f45.google.com with SMTP id u125so18375209wmg.1 for ; Thu, 24 Mar 2016 08:46:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pVgdNRr+XcdWxpgCKwV/z/XsndEdQbeDuuA7p4o/R9I=; b=ZS4+UwdAd5S0AAePvjVSyfpwJNmVA997gp3DLDNWX0wUXj1itw++ltLoNZs6XbTQkx RbYLWV1RMY+snrdW6GFXBQ7jGdgZYaA+/+yQjdkY/PcrI6Xqy5nPj5db7zSQzfk24hY7 HF5d/BYyVSyJcu04kheigaj0nUAziFt+nivduIkC/MzE6d/8yhGqH1b8hjDp4OlSGTZ7 ZlKRysgS/OIYsk1Gz4QhuO6xOxc0Khxs2/s/avyb48rQDY35Q8wRictrU4nR1HmMtnQu 5i1MRHlHLQinkm3HwPmuEeg16EYTlSKY5TkGFSstSKvEujFA7JKgQEL/g2ouwKM5Sigo CqSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=pVgdNRr+XcdWxpgCKwV/z/XsndEdQbeDuuA7p4o/R9I=; b=b8OB0igQFmdK9PI2kD7gbaOuxHWAF1/0yAUGJTW+J4JObIbq5mt85IbmEiwFn0hmhz RxQmv6PFdV9Q3+qmkkQ+r0Ix6gvvCR4UxO7F4i1TRZfgL9h+LGpVHDg35jq6eo/GD1FK TTV57Vy9lVHfBvEouVb+vWZcfPeIqs6X1HgBd1lm37ROcJF2ZgqOX/mnr6sxRWHFw1mA buZ/gN+ARYsMrz0IZICUSyrz4r4POM+oc0y2e4Cm6mA2yzLmm8q+MmAfOSgYvVM/WxZD 8k5evCdS3j5/rH8VummydmqTz/dPsLv3nyCm6aCGMs7Y6E8YKLxIOj0HQ2Q5CccoE7mn UbNA== X-Gm-Message-State: AD7BkJLR1txiqlhG6Glfli/z8wgSP2uuUGLSOwMSF8rf0e6X7xIr0lMZdK4QX8bUmXqD9A== X-Received: by 10.28.140.11 with SMTP id o11mr32637323wmd.81.1458834398010; Thu, 24 Mar 2016 08:46:38 -0700 (PDT) Received: from [192.168.2.84] ([81.0.216.145]) by smtp.gmail.com with ESMTPSA id i137sm26076071wmf.18.2016.03.24.08.46.36 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 24 Mar 2016 08:46:37 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) In-Reply-To: <56F40965.30302@telia.com> Date: Thu, 24 Mar 2016 16:46:35 +0100 Cc: Andrea Faulds , PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <3A78AC53-5235-4CFE-9F0D-21F5837B6025@gmail.com> References: <56F40965.30302@telia.com> To: =?utf-8?Q?Bj=C3=B6rn_Larsson?= X-Mailer: Apple Mail (2.3124) Subject: Re: [PHP-DEV] Re: [RFC Proposal] Null Coalesce Equal Operator From: mtkocak@gmail.com (Midori Kocak) there were no suggestions. Do you have one? > On 24 Mar 2016, at 16:36, Bj=C3=B6rn Larsson = wrote: >=20 > Den 2016-03-13 kl. 02:59, skrev Andrea Faulds: >> Hi Midori, >>=20 >> Midori Kocak wrote: >>> Forgive my rookieness and let me introduce my first RFC here: = https://wiki.php.net/rfc/null_coalesce_equal_operator = >>=20 >> I think this is a reasonable proposal. I had foreseen that we might = add a ??=3D operator some day when I wrote the original RFC for the ?? = operator. >>=20 >> I do have one thing to add, though. It's something of a nitpick, but = the name ought to be the "null-coalescing assignment operator". This = would follow the convention of referring to +=3D, -=3D etc. as = compound/combined assignment operators[1][2], not "equal" operators = (which sounds more like what =3D=3D and =3D=3D=3D do, to me) and avoids = the mistake ("coalesce" instead of "coalescing") that I originally made = in my RFC for ??.[3] I think that RFC naming is important, because the = name the author chooses for a feature tends to be the one that ends up = in the manual. >>=20 >> Anyway, thank you for your RFC! >>=20 >> [1] http://php.net/manual/en/language.operators.assignment.php >> [2] = https://github.com/php/php-langspec/blob/master/spec/10-expressions.md#com= pound-assignment >> [3] https://blog.ajf.me/2015-12-07-poorly-named-rfcs >=20 > Any conclusion on naming of operator, remain or change? >=20 > Regards //Bj=C3=B6rn >=20