[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-internals
Subject:    [PHP-DEV] Re: [RFC] [DISCUSSION] Make constructors and destructors return void
From:       Benas IML <benas.molis.iml () gmail ! com>
Date:       2020-06-30 22:02:31
Message-ID: CANeKSiSizrKHxkskdNDouJw0iCs0j0Ha0jwXys9vE8ygm+j=Xg () mail ! gmail ! com
[Download RAW message or body]


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 <benas.molis.iml@gmail.com> 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
>


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic