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

From: Date: Thu, 24 Jul 2014 08:42:13 +0000
Subject: Re: [RFC] Scalar Type Hinting With Casts (re-opening)
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-75995@lists.php.net to get a copy of this message
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'm undecided about what would be the "right thing" in that regard, but I think it should be clarified. best regards Patrick

« previous php.internals (#75995) next »