Re: [RFC] Scalar Type Hinting With Casts (re-opening)
| From: | Andrea Faulds | Date: | Fri, 25 Jul 2014 01:45:39 +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-76084@lists.php.net to get a copy of this message | ||
On 24 Jul 2014, at 09:42, Patrick Schaaf <php@bof.de> wrote:
> 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?
As implemented, yes.
--
Andrea Faulds
http://ajf.me/