Re: [RFC] [DISCUSSION] Allow void return type for constructors/destructors

From: Date: Tue, 16 Jun 2020 00:47:53 +0000
Subject: Re: [RFC] [DISCUSSION] Allow void return type for constructors/destructors
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-110561@lists.php.net to get a copy of this message
On Tue, 16 Jun 2020 at 02:35, Benas IML <benas.molis.iml@gmail.com> wrote:

> Hey internals,
>
> I am proposing to allow void return type for constructors/destructors.
> Note,
> that this is an **optional** and cosmetic-only addition! All of the
> reasoning
> is in the RFC.
>
> RFC: https://wiki.php.net/rfc/constructor_return_type
>
> Best regards,
> Benas
>

Seems like a no brainer and a good addition. :)

Best regards

George P. Banyard


Thread (23 messages)

« previous php.internals (#110561) next »