[RFC] [DISCUSSION] Allow void return type for constructors/destructors
| From: | Benas IML | Date: | Tue, 16 Jun 2020 00:34:45 +0000 |
| Subject: | [RFC] [DISCUSSION] Allow void return type for constructors/destructors | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-110558@lists.php.net to get a copy of this message | ||
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