Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110795 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 97027 invoked from network); 30 Jun 2020 23:13:46 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 30 Jun 2020 23:13:46 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 9D9A61804F2 for ; Tue, 30 Jun 2020 15:02:47 -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,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS 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-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.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 ; Tue, 30 Jun 2020 15:02:47 -0700 (PDT) Received: by mail-lj1-f169.google.com with SMTP id f5so8604562ljj.10 for ; Tue, 30 Jun 2020 15:02:47 -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=HSUM8Fy5xBut24XXUwcew3LN/ABo3NyE6S3RT6rMrz8=; b=C/1x4S//sj6QSmDGRuG+2CVck6DLlFpI5i242EBqIMtBGPiz2ZQmmLg47wwuHDWkkC uB/NBoF6lFYikCmdgPlX1AGd93LoeXAocBA/pi6K+WxVTsM5G8jL4rwmpzjJ2dLKSZ85 5yOkS1Tiebn0Xt2o/hsRdQrM1cFjsaLcLoreOqtu6AJtkcPA3DzBhV5mJchSG3gTvNJL 7dVJx5sSwm9eaNwyfdSalQY/oeM0Xqovfr86jO1MmWSesYsJRwiY6RT49k9iXQUbrkDm 8kj4xmal+syZJLaPjMWVLO31yggl9ttlWnAQ1sP2bsj9UEQ9rUiL4Bn0fK4YXVcRRkDc xVUg== 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=HSUM8Fy5xBut24XXUwcew3LN/ABo3NyE6S3RT6rMrz8=; b=kK7Po3j+9+xtB/Zjs4PGn9D1Qj+ZcFMTSdy/rF0yNySy3agkPrpo3Ih90OOpAwo1ig DuHBX8cgfjjuXnCwhW1vM7CFu1Ulvs/lG/miJ2sA4Tq3VfrHHs8/NfRnmdx83WSFxgAz CvxxOpufxf8ntJKaMoZogGh+at1HbAECdtr4mJFExZMOM+14VPUHT5kj/i5iJAZF9MFh S7/fpFnNdNe7jHv6pWeIIAietq01eQkSz/JYcEFQVaZvS5Xmr3w2qz7QxtkSpj7hBE+o pRb3qpQgSI97TzFwvyx2U4DmuDDPYt0o9Sp9eqd2WXiHAj90855+kOEosQpJHyRXAIx+ grwQ== X-Gm-Message-State: AOAM530BgUlirE4GpgGFeuR+9nD8Cvg/0c0BwPmZUMLqXZO57VJPVvYc FcM3mwd922dFwUC/MGloFBsjWjbboqv9aYQzJVf6SQ== X-Google-Smtp-Source: ABdhPJw+6RcN1mTBnLvbRd8fXal8xe11jN9yJ6a37Vgro3DQXryJ0aWdaRkdQ/iZwJn6+51UAGBJ+IPwsaQvVANSwUw= X-Received: by 2002:a2e:94c9:: with SMTP id r9mr11199593ljh.445.1593554565296; Tue, 30 Jun 2020 15:02:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 1 Jul 2020 01:02:31 +0300 Message-ID: To: PHP Internals List Content-Type: multipart/alternative; boundary="000000000000cb774205a954552e" Subject: Re: [RFC] [DISCUSSION] Make constructors and destructors return void From: benas.molis.iml@gmail.com (Benas IML) --000000000000cb774205a954552e Content-Type: text/plain; charset="UTF-8" Since 2 weeks have passed and there wasn't much discussion, I would like to remind that I'm opening the vote on Friday (July 3rd). Best regards, Benas Seliuginas On Wed, Jun 17, 2020, 2:10 AM Benas IML wrote: > Hey internals, > > This is a completely refined, follow-up RFC to my original RFC. Based on > the > feedback I have received, this PR implements full validation and implicitly > enforces `void` rules on constructors/destructors while also allowing to > declare an **optional** explicit `void` return type. Note, that there is a > small but justifiable BC break (as stated by the RFC). > > RFC: https://wiki.php.net/rfc/make_ctor_ret_void > > Best regards, > Benas Seliuginas > --000000000000cb774205a954552e--