Re: Ensure correct signatures for PHP magic methods
| From: | G. P. B. | Date: | Mon, 06 Jan 2020 00:28:02 +0000 |
| Subject: | Re: Ensure correct signatures for PHP magic methods | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-108000@lists.php.net to get a copy of this message | ||
On Sun, 5 Jan 2020 at 18:44, Gabriel Caruso <carusogabriel34@gmail.com>
wrote:
> Hello Internals,
>
> I have a PR proposing to start checking the signatures for PHP magic
> methods in the next major version of PHP:
> https://github.com/php/php-src/pull/4177. The idea for this PR
> came from
> https://bugs.php.net/bug.php?id=69718.
>
> I'd like to hear your opinion before putting more effort into this :)
>
> Best regards.
>
Hello Gabriel,
I do like the idea, but I would agree that I'd want void as the return type
instead of a no return compile error.
Other than that +1 from my side.
Best regards
George P. Banyard