Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:112308 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 55860 invoked from network); 27 Nov 2020 17:15:57 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Nov 2020 17:15:57 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 85D1B1804B3 for ; Fri, 27 Nov 2020 08:42:25 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ot1-f51.google.com (mail-ot1-f51.google.com [209.85.210.51]) (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 ; Fri, 27 Nov 2020 08:42:25 -0800 (PST) Received: by mail-ot1-f51.google.com with SMTP id h39so5184245otb.5 for ; Fri, 27 Nov 2020 08:42:25 -0800 (PST) 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 :cc; bh=CbTCXSJDCES3v8eL3GKVcL9V4TX/3zPhrDzWQvtmDW8=; b=qNeTE1HrAzkNMScWeP9wgECtjiKz+Lt8bcSnMIfipHudZl8aMXOpSURJS9GqQ822Pp oIwF4244ngYvU+pbjMeT5+2KpnYcv0weZ20c9yqrc64HrgFx7tUQd+mhT5L1yjmA/kOr +AQ8SoIKIy6/CSG7cv+OBIIwZz7gKag5dWNbWO4sx30DX49ZXLwTHd2KLu6Jt7JTa+pm bj7hRBYDlxSXQKewNlPTV9V+IttPGRc8UiK9Uunl4cIIPEOpDCOhnTTsWGWEQI4mkaKc 9+pp1XRwVhFG4lJgiCy87mX2eSNJFyfF/DBxUFe4211O8hAwypPpgRy49uQ+IBzr0ieg DjTQ== 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:cc; bh=CbTCXSJDCES3v8eL3GKVcL9V4TX/3zPhrDzWQvtmDW8=; b=VdOeJYisInmtTDcO0DaPDYHtOwIIDVzRd/ZWckLImiW6PNQZcLk8n6mXpg2WVUm+hI 49fz0vFQl2hru8DERneApJ1ymFp1kBURFV61VMmmRkxgwniVALud3U0YjpppKCTt+Q7y oEbjXcEtKqSXR5qPX3nBEdlI0YTBZiqQp51zSfLxQo2b258wqWMhTQUNjP/o//1dyjM9 32Y8O+2hgIerJVsOgCN/i+o7NrLiVqlimXzN3buOOmTfuG/gKiPzHX3UaMUWYyTFMRoH iPgL5G207Hz5G9L0tnJzTRO8seQNl1y6Xovwi+JcEbNVcpYeOgISrHwt9QDHQkdBWkOp IXNQ== X-Gm-Message-State: AOAM533f1S4rDSq4Gp5JiWp464awIk+lyL42ermWvFw4+thJBSNInTdD 0B+mCCrrPD3zOw+rzfsG/SXWgo//5rYOiy0Ifyo= X-Google-Smtp-Source: ABdhPJxEA12vatKqWb6KXsTgndVUXPB9UV3u3ZIxDUY4vUr4dnqffYjaaP1B3bUV2uaOx3EAzsjNkz5sQRLLWEJLANE= X-Received: by 2002:a9d:7a97:: with SMTP id l23mr6947078otn.232.1606495343562; Fri, 27 Nov 2020 08:42:23 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: Date: Fri, 27 Nov 2020 17:42:12 +0100 Message-ID: To: Sara Golemon Cc: PHP internals , Roman Pronskiy Content-Type: multipart/alternative; boundary="00000000000049541c05b51958bb" Subject: Re: [PHP-DEV] Thank you to JetBrains (PHP 8 Announcement page) From: benjamin.morel@gmail.com (Benjamin Morel) --00000000000049541c05b51958bb Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I really like this page as well! It will definitely help improve PHP's reputation and adoption. I'd like to suggest a couple improvements, though: 1/ Match expression: The new match is similar to switch and has the following features: > (...) > *+ Match throws an UnhandledMatchError if no match is found* 2/ Nullsafe operator: Instead of null check conditions, you can now use a chain of calls with the > new nullsafe operator. > *- When the evaluation of one element in the chain fails*, the execution > of the entire chain aborts and the entire chain evaluates to null. > *+ When one element in the chain evaluates to null*, the execution of the > entire chain aborts and the entire chain evaluates to null. IMO, "fails" could imply that an unknown property, or a property that evaluates to a non-object is acceptable. Sorry if these suggestions come a bit late, now that translations have landed. =E2=80=94 Benjamin On Fri, 27 Nov 2020 at 16:40, Sara Golemon wrote: > I've been receiving fantastic feedback on the PHP 8.0 Announcement landin= g > page ( https://www.php.net/releases/8.0 ), and I just wanted to extend a > big Thank You to all the folks at JetBrains for making this suggestion an= d > putting forth the work on the initial four translations (en, pt_BR, de, a= nd > ru). This has helped spread the excitement around this release, and I ho= pe > we continue the tradition next year! > > -Sara > > P.S. - It's especially encouraging that our community stepped up > immediately to provide two more translations (fr and zh; plus I happen to > know my wife is working on Spanish as I type this). > --00000000000049541c05b51958bb--