On Mon, 6 Jan 2020 at 10:05, Nikita Popov <nikita....@gmail.com> wrote:
> On Sun, Jan 5, 2020 at 6:44 PM Gabriel Caruso <carusogabrie...@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. > Right! If no type is provided no problem but, if provided, then we're going to check. Important: *this has nothing to do* with `strict_types` flag enabled or not. > > Nikita > Best regards,