Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:111041 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 75642 invoked from network); 16 Jul 2020 11:28:34 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 16 Jul 2020 11:28:34 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 07AFA1804DB for ; Thu, 16 Jul 2020 03:21:27 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-yb1-f177.google.com (mail-yb1-f177.google.com [209.85.219.177]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Thu, 16 Jul 2020 03:21:26 -0700 (PDT) Received: by mail-yb1-f177.google.com with SMTP id x9so2604379ybd.4 for ; Thu, 16 Jul 2020 03:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=ahNTA9xy80F9Ppme0WD1f0vdm0r3ngYxGlMWraUXW3c=; b=GvXjsGdVKYUSsPjnTksbbiu9GtQhgRo0q1ogLqdCaUTcb3FNfVFmhi4vLIa3hxCULp CTtFi8xA767mbb39jjc+AIwOpDkdSP6w6q5ghlt3kJJdMCKtOoC9t7GTTZndVuzFCbGR L5Ot3wuL38YSq0imuWUTZFzliszQQt+xCeed94wnjUNahwx3W4GHa4boFP/wPVeGLUVD hYAF23PbpV+inDS+zUO2cuQOYGClBqGCW9y6Uss4110j3zvsW1dPpr+cXq3KL04qW2S0 kSO2Iw0wdAXK9f38bHq4E+USFNGaPmvNSpkWYCNGNxjwQicwiZS9k1WeuSO/20ocwYv5 +LdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=ahNTA9xy80F9Ppme0WD1f0vdm0r3ngYxGlMWraUXW3c=; b=mjP0exKFIZhEuapfoL+9xx/mJBMfV3odFcvYHXm/3/T2W4M2UwyKp7LEJnRX4MJBeA czyvTC88fI+sdgRmFSselZPajQ96H74HovxtNdAJPDFy5bwznhohs6lpUr5fegUXS5kI wXl8qBktqyQz5mw6PxMcvRiFv/sI8MlFECN2uZjQ3IGoUZqOirGao/mRVlQy2shVm9gF 1pz3TdXkSC7o5QHJvcQZxmZdCPpa3ZDU/tAzcH36gwF/l2kL7+aQRPivk0NS7BxG3o3b 09cOa3y4vCRIbhhixcS2NaGZGwjJaUbDVmvuoMwCQCYJocB5VE4pD+vp5XnZNrQhB/Wk heLg== X-Gm-Message-State: AOAM533LWCunC+CzhzIrwcWCEFTVqh7oNQm15YFbRCgSk/W+IsaE4Ahy Cx8+VOULxzL365cOMz7sMj44Xyg2pZ69Ck0IhwZFbdBk X-Google-Smtp-Source: ABdhPJzspK35TESVeziWBZW6IwcJl85hHDXeAx/OpQoe94a1jpA18VvwvENBrNZlLX8ubG3UJlX+xc1G18DSoEMT0xg= X-Received: by 2002:a25:760f:: with SMTP id r15mr5329828ybc.347.1594894879355; Thu, 16 Jul 2020 03:21:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 16 Jul 2020 12:21:08 +0200 Message-ID: To: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Re: [RFC] Nullsafe operator From: tovilo.ilija@gmail.com (Ilija Tovilo) Hi internals > > https://wiki.php.net/rfc/nullsafe_operator > > Unfortunately, we have found some new edge cases that are currently > not handled. So, we've decided to completely disallow the nullsafe operator in write context. This means you can no longer use it on the left hand side of an assignment. This change was made mostly due to technical issues but some of the semantics were also not completely clear (e.g. do we always execute the right hand side? which order? etc). You can find a diff of the changes here: https://github.com/iluuu1994/nullsafe-operator-rfc/compare/5df9d041d2d202e5fab02b5881f2c4dc1fd9bcce...v1 I realize that it's very much last-minute but I will be opening the vote tomorrow unless there are any objections. This way we have a few days to merge before the feature freeze if the RFC is accepted. Ilija