Re: [RFC] [VOTE] Make constructors and destructors return void
| From: | Peter Bowyer | Date: | Fri, 03 Jul 2020 12:47:21 +0000 |
| Subject: | Re: [RFC] [VOTE] Make constructors and destructors return void | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-110834@lists.php.net to get a copy of this message | ||
Hi,
I have voted in favour, but enough people I respect have voted against to
make me reconsider.
My understanding is the changes will only cause problems to people who have
returned something from __construct() or __destruct(). As people shouldn't
have done this, IMO it is a smaller BC issue than the BC break that would
have been caused if the proposed #[] attribute syntax had been chosen.
Peter
On Thu, 2 Jul 2020 at 22:12, Benas IML <benas.molis.iml@gmail.com> wrote:
> Hey internals,
>
> I have opened the voting for the RFC, let's hope everything is going
> to be smooth :). If you have any other questions, let me know!
>
> RFC: https://wiki.php.net/rfc/make_ctor_ret_void
>
> Best regards,
> Benas Seliuginas
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: https://www.php.net/unsub.php
>