Re: [RFC] Scalar Type Hinting With Casts (re-opening)

From: Date: Thu, 24 Jul 2014 08:52:18 +0000
Subject: Re: [RFC] Scalar Type Hinting With Casts (re-opening)
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-75997@lists.php.net to get a copy of this message
On Thu, Jul 24, 2014 at 10:42 AM, Patrick Schaaf <php@bof.de> wrote: > Hi, > > there is, it seems, something missing from both the RFC and the > discussion, as far as I read it. Sorry if it came up before, it was a huge > amount of mails... > > How does the proposal affect method compatibility between > subclasses and baseclasses? Will two methods there, differing in the > scalar type annotations of one of their arguments, elicit STRICT > warnings, like object type annotations do? I think it should behave like class arguments do. Cheers, -- Pierre @pierrejoye | http://www.libgd.org

« previous php.internals (#75997) next »