Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:117357 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 62579 invoked from network); 17 Mar 2022 14:29:22 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 17 Mar 2022 14:29:22 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1C24C1804D9 for ; Thu, 17 Mar 2022 08:54:38 -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=-0.2 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-yw1-f169.google.com (mail-yw1-f169.google.com [209.85.128.169]) (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, 17 Mar 2022 08:54:37 -0700 (PDT) Received: by mail-yw1-f169.google.com with SMTP id 00721157ae682-2e5a8a8c1cdso54537417b3.3 for ; Thu, 17 Mar 2022 08:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=datadoghq.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MIUjTBBCoFyH8rxCxZJoN/mlbpff/OnG5R/fVnPILFA=; b=Wgv/alg8PUEqy+A534dpbeKF9ZwTtx4tbwsqIsfqm3Rm06mjyMJUCHMsA3F8zGtFa9 z8uVgA32XRKpNv2v3GW0UMqdW13Sai0oIxp+q0NRs9SNsgrVSdFzhYN0KYLlOGNTdZr3 IH8lo0d9uXBG6+eFFQ9hkk3p5LljvOcWKaOc8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MIUjTBBCoFyH8rxCxZJoN/mlbpff/OnG5R/fVnPILFA=; b=bnLHf1Bms6DXWTKY9lsF/qNVKlHXe8uVTXmS43CMi7gMHVxHjHMiW6FVvAfwmFQDqs 6q0dG6Uk8cxqq4gvLZzPu0OM89UFLZTP9azpK+aDfJlGLzHBJHl/1sk4vxcnNzIe65w8 qUDNMZL3WnHW2SrSvJ9Hzk6n7C3ko84jdj3VKtULk6wKw5p1g3LvqgLZoqrXPC+xoxJB 8AGMQmBjdZ4oR/xErg8ENnhy9j6bDFzlZSSRjv7QiT4maF58kswSNYw6k15tE3RCUBof t5cqaE8KnlYuEzZP9rTjy+UnlNpvUG/EWIGOVkIUkgu/UQcDW+PRXQW3TsaIzkV/19GE pI4Q== X-Gm-Message-State: AOAM533BBkEQAr34LomFszyWJf/KYWZfP0jUcd6FLta8P/jsm3hYTyXs 9G4Iu7NQzt+q/0BAGT35EAz9OZdqlREK8Tjh8qKDvQ== X-Google-Smtp-Source: ABdhPJz38zINOYhZIgBbejcv5d9sebyXb33UrmKm/Yqmv3ihoJvXyqyO0mFozgBdp57cvgCgtHB+i7oxYzo7w8rz0HU= X-Received: by 2002:a05:690c:13:b0:2e4:da22:27d9 with SMTP id bc19-20020a05690c001300b002e4da2227d9mr6588265ywb.298.1647532476921; Thu, 17 Mar 2022 08:54:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Reply-To: Levi Morrison Date: Thu, 17 Mar 2022 09:54:26 -0600 Message-ID: To: "G. P. B." Cc: PHP internals Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] [RFC] [VOTE] Allow null and false as stand-alone types From: internals@lists.php.net ("Levi Morrison via internals") On Sat, Mar 12, 2022 at 10:32 AM G. P. B. wrote: > > I've started voting for the Allow null and false as stand-alone types RFC: > https://wiki.php.net/rfc/null-false-standalone-types > > Voting will last for 2 weeks until 26th of March. > > Best regards, > > George P. Banyard Hello, I have voted yes, despite this clause: > Moreover, a function which has a void return type must only use return; whereas one with null must use return null;. IMO, it should allow any expression including just `return;` and let the runtime fail if it needs to.