Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75995 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58787 invoked from network); 24 Jul 2014 08:43:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2014 08:43:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=php@bof.de; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=php@bof.de; sender-id=pass Received-SPF: pass (pb1.pair.com: domain bof.de designates 80.242.145.70 as permitted sender) X-PHP-List-Original-Sender: php@bof.de X-Host-Fingerprint: 80.242.145.70 mars.intermailgate.com Received: from [80.242.145.70] ([80.242.145.70:46590] helo=mars.intermailgate.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/60-55265-A37C0D35 for ; Thu, 24 Jul 2014 04:43:39 -0400 Received: (qmail 22505 invoked by uid 1009); 24 Jul 2014 10:43:38 +0200 Received: from 213.135.15.139 by mars (envelope-from , uid 89) with qmail-scanner-1.25-st-qms (clamdscan: 0.96.2/19216. spamassassin: 3.3.1. perlscan: 1.25-st-qms. Clear:RC:0(213.135.15.139):SA:0(-1.1/10.0):. Processed in 1.019993 secs); 24 Jul 2014 08:43:38 -0000 X-Spam-Status: No, hits=-1.1 required=10.0 X-Antivirus-MYDOMAIN-Mail-From: php@bof.de via mars X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:0(213.135.15.139):SA:0(-1.1/10.0):. Processed in 1.019993 secs Process 22493) Received: from unknown (HELO rofl.localnet) (gmail@bof.de@213.135.15.139) by mars.intermailgate.com with AES256-SHA encrypted SMTP; 24 Jul 2014 10:43:37 +0200 To: internals@lists.php.net, Andrea Faulds Date: Thu, 24 Jul 2014 10:42:13 +0200 Message-ID: <12448510.rPWIJSKt4t@rofl> User-Agent: KMail/4.11.5 (Linux/3.11.10-17-desktop; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <08503591-EFC8-48E6-984E-FFC292C5EA5F@ajf.me> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="nextPart6606176.Cm6uLRRLYK" Content-Transfer-Encoding: 7Bit Subject: Re: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening) From: php@bof.de (Patrick Schaaf) --nextPart6606176.Cm6uLRRLYK Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" 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 --nextPart6606176.Cm6uLRRLYK--