Re: Ensure correct signatures for PHP magic methods

From: Date: Mon, 06 Jan 2020 09:04:48 +0000
Subject: Re: Ensure correct signatures for PHP magic methods
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-108001@lists.php.net to get a copy of this message
On Sun, Jan 5, 2020 at 6:44 PM 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. > To be clear, the suggestion here is to verify that no *wrong* types are specified -- but not specifying a type at all remains legal, right? If so, sounds reasonable to me. Nikita

« previous php.internals (#108001) next »