Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113896 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11812 invoked from network); 1 Apr 2021 08:59:13 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 1 Apr 2021 08:59:13 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1F1B51804DD for ; Thu, 1 Apr 2021 01:56:56 -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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2, SPF_HELO_NONE,SPF_NONE autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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, 1 Apr 2021 01:56:55 -0700 (PDT) Received: by mail-wm1-f44.google.com with SMTP id y124-20020a1c32820000b029010c93864955so2431980wmy.5 for ; Thu, 01 Apr 2021 01:56:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=beberlei-de.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=msf/BHY3UqYPqSJKmxl/X3zDUzNMKwPwjDUL3zUQtDo=; b=xvLAc+hp/11Y2x1bequCYCK433woZYq/lUnNY5TACte0xQXGf7MmM4CXpFv847Jtgt m1vldsGbAOolOoBDl9xm8VToMO0fXEqj2Dzt0sxGi26hpEeanJ9PTEz/A1ppT08pEFmO YLF1WDRkLXYHjFR0axiQmSMPXa8lMCp6KsbW/LBEJBIIjM7Ef8KYEvDl31+tOjhvgE4Y JEe7iQCtBXr5o5Uc9uuJqwHf9dsq1/NRejo/+OyFzwBdwvgevgupQRAM94ldD3Rp0Mto OCHFXAXuO+bUkxHvXRdCJy0UB/OVTSP/eADXyMRUaKkj7BwW01R0pOg+An/0IxxlAyA8 n0Bw== 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=msf/BHY3UqYPqSJKmxl/X3zDUzNMKwPwjDUL3zUQtDo=; b=SYMiDnt5SXsWimBhfhsdCbcpO0S5O7C1wsiHnQoPieKZ0YHeIiKr+2ahqw8rRdNRhJ 4+lXcryl1aXVSdnpWBVke/9ajFGa8fYfOSn+LDjZyvSnGOsv6URKemoXx6zjDDaRJ7JP 8p70TPolT2xxYDFDRzHz1vXmlKmkBu8je56+JJ0FlBrCgYsJSwkHk3pjbTt2oGqoZ9hQ vqc8rNAVRo04ovC3iMuK4Q0+x8lIzr181nVefWj8hZ6svZmTb3vnYZBBIik3EVvlKoQK YA9eDmk/5FHgIrst4d+LdSGXomf2xGAU04lkArY3aziKBbysC27CtPaOITLyjY4ff2Ee /SMg== X-Gm-Message-State: AOAM532MkGC2Gdi5fnLOwoKRKQOP0JzpkXitsRRyVUflgDkt/77f8TwD EUp3oF72GggaNAwz0WqHTK6tvUSQ/loB6raA9+RrsQ== X-Google-Smtp-Source: ABdhPJxcu75D1eDEcRH9b9fGCc0YbYGXQC9Z085NzAPERSZwFWWh7YPCkUYkDGNdRwqHmhxuCmbWEc3q8oqGCydK41s= X-Received: by 2002:a05:600c:d1:: with SMTP id u17mr7117258wmm.64.1617267414133; Thu, 01 Apr 2021 01:56:54 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Thu, 1 Apr 2021 10:56:42 +0200 Message-ID: To: Matthew Brown Cc: Internals Content-Type: multipart/alternative; boundary="000000000000ba042d05bee56913" Subject: Re: [PHP-DEV] [VOTE] noreturn type From: kontakt@beberlei.de (Benjamin Eberlei) --000000000000ba042d05bee56913 Content-Type: text/plain; charset="UTF-8" On Tue, Mar 30, 2021 at 5:07 PM Matthew Brown wrote: > Hey everyone! > > The vote for adding noreturn is now open: > > https://wiki.php.net/rfc/noreturn_type > > Voting will run through April 13th > > Best wishes, > > Matt and Ondrej > I voted no, because i think this should at the maximum be an attribute. This RFC is using the declaration of the return type, to specify that it never returns. As such noreturn or never is a keyword a long the lines of public or final, but it is not a return type. I don't think the argument for potential optimizations in Opcache to eliminate dead code or allow IDEs to hint at dead code are valuable enough to justify this change. --000000000000ba042d05bee56913--