Re: Re: [RFC] [VOTE] Make constructors and destructors return void
| From: | someniatko | Date: | Thu, 09 Jul 2020 14:27:14 +0000 |
| Subject: | Re: Re: [RFC] [VOTE] Make constructors and destructors return void | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110897@lists.php.net to get a copy of this message | ||
> I think going from forbidding
> return types on ctors to requiring them to be void is one step to far.
I am afraid you've slightly misunderstood the intention of this RFC.
It is proposed that it is impossible to return anything from the
constructor, not that you have to add ": void" to it.