Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:91900 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 18052 invoked from network); 24 Mar 2016 15:49:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Mar 2016 15:49:26 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.217.172 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.217.172 mail-lb0-f172.google.com Received: from [209.85.217.172] ([209.85.217.172:33210] helo=mail-lb0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 43/70-15440-48C04F65 for ; Thu, 24 Mar 2016 10:49:26 -0500 Received: by mail-lb0-f172.google.com with SMTP id oe12so33718129lbc.0 for ; Thu, 24 Mar 2016 08:49:24 -0700 (PDT) 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:date:message-id:subject :from:to:cc:content-transfer-encoding; bh=pN6KgvkY6QK9Ys6GC89SWHpiKaBMbPCV1P/NitmSSZk=; b=NT7XaAZNZPhmopuUqE0niVn6KysjOLksZUPvfElly9i0m63w/1evTVtJrYcmLOX+Op nJexo2H1PpOye+kd3d4k7Col0uPoCcFDasaLoO7GpIuSmeH7fCcbgMblowqeC8SbK61K gJiygs/TYMqpt1RATX/7bxw5AbOkDZlmLV5o732QIM8zgbsdiHp+EXUn7Y02XqCUZeAz vblCz5AnfXNnQbHuZfokyJfnX5rrnvB2eTOsQnH33pYBOL5+ijtv6pRzOtkW6BlasqC3 Hzxtjzwz0uw7BWJgG+zeK7jWnEBiWXC5t5sCAb1DwZXMmzh/TSvw+6tlhZzQIsM4xgKm uO5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-transfer-encoding; bh=pN6KgvkY6QK9Ys6GC89SWHpiKaBMbPCV1P/NitmSSZk=; b=IOLmhvKbzF1YNuGDmgBPaZ9woSupks0x9nv0bzan2M3tIjUwJTKBv3dsk8cNQUQ+Pb 61yTHgWsAOwO0wzXowlD/EkMq9wBvg3ebuOeF/7Lg+CB6uP6myJXufBpLKHNIQWHrVpi 3ulwwPXQJeP+zXYt9WkeavVMuC9G8VJlK4J1Q6Ouyhd+YoK6qZpjQz4eD6vU/gCqtyyS swnwdZAs0ByDXFNbM1umCXWbC2WHil1/2KZu3/bBTxOLkxH5CkAxRE6S38Dre1W138eo r8zwM7y9ojaHnIxfSN43H6O5sxxKRmd8GDwkBeTM4eRm9v2X6B1q3GQHcF5lqmZozXK0 hYUA== X-Gm-Message-State: AD7BkJKY3RzHMCQI+d28Y+tidd0PWhcOUPiPSLC93KT/l2/vaeJiT3Rn1tEXGdWxdH0T7DFWzLn6unapG2a+zg== MIME-Version: 1.0 X-Received: by 10.112.143.163 with SMTP id sf3mr3722395lbb.117.1458834561485; Thu, 24 Mar 2016 08:49:21 -0700 (PDT) Sender: php@golemon.com Received: by 10.112.18.75 with HTTP; Thu, 24 Mar 2016 08:49:21 -0700 (PDT) X-Originating-IP: [107.198.91.68] In-Reply-To: <3A78AC53-5235-4CFE-9F0D-21F5837B6025@gmail.com> References: <56F40965.30302@telia.com> <3A78AC53-5235-4CFE-9F0D-21F5837B6025@gmail.com> Date: Thu, 24 Mar 2016 08:49:21 -0700 X-Google-Sender-Auth: GaEBSo6V1WBuwu7-XshNfHR4Lvo Message-ID: To: Midori Kocak Cc: =?UTF-8?Q?Bj=C3=B6rn_Larsson?= , Andrea Faulds , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Re: [RFC Proposal] Null Coalesce Equal Operator From: pollita@php.net (Sara Golemon) Changing "equal" to "assignment" seems to have been the suggestion. I've taken that into the short-ternary version. And as a minor edit (not worth closing/reopening vote) would recommend the same for null coallesce. -Sara On Thu, Mar 24, 2016 at 8:46 AM, Midori Kocak wrote: > there were no suggestions. Do you have one? > >> On 24 Mar 2016, at 16:36, Bj=C3=B6rn Larsson = wrote: >> >> Den 2016-03-13 kl. 02:59, skrev Andrea Faulds: >>> Hi Midori, >>> >>> Midori Kocak wrote: >>>> Forgive my rookieness and let me introduce my first RFC here: https://= wiki.php.net/rfc/null_coalesce_equal_operator >>> >>> 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 ?? operato= r. >>> >>> I do have one thing to add, though. It's something of a nitpick, but th= e name ought to be the "null-coalescing assignment operator". This would fo= llow the convention of referring to +=3D, -=3D etc. as compound/combined as= signment operators[1][2], not "equal" operators (which sounds more like wha= t =3D=3D and =3D=3D=3D do, to me) and avoids the mistake ("coalesce" instea= d 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. >>> >>> Anyway, thank you for your RFC! >>> >>> [1] http://php.net/manual/en/language.operators.assignment.php >>> [2] https://github.com/php/php-langspec/blob/master/spec/10-expressions= .md#compound-assignment >>> [3] https://blog.ajf.me/2015-12-07-poorly-named-rfcs >> >> Any conclusion on naming of operator, remain or change? >> >> Regards //Bj=C3=B6rn >> > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >