Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75997 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63583 invoked from network); 24 Jul 2014 08:52:19 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2014 08:52:19 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.192.43 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.192.43 mail-qg0-f43.google.com Received: from [209.85.192.43] ([209.85.192.43:41698] helo=mail-qg0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4F/B0-58899-149C0D35 for ; Thu, 24 Jul 2014 04:52:17 -0400 Received: by mail-qg0-f43.google.com with SMTP id a108so2821905qge.2 for ; Thu, 24 Jul 2014 01:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=v9xvGT3qYbsiy/aI6j/b3Xub7a5wdWKX6DGEIP5Hs3Q=; b=rGkHjwFkZ1dh/teMFi8GrRx7E5dHILpmvK6jR3WKSxGAMCsWPoUtGQ+8nx4k6W6Mr8 vFMiQZsTz+jdMI22MSc4ytT+WxbpvVgMuDNEKQCcIQfs91CAcyA5mnmJ+jVRWSTUUokf G69L9TkxV+o+dS7GTyuzQ3Sc1ZVtJfDp18lEyxPGkifCWbMjvYGYcotKdWwxh46rdENN Fu6lPhm4pZQrTKlzUY2y5Iiy6y2Cbm3z/SM9qx3E3FMdAslEJ1Kvgn86a+Cl96UCsQrK w/rD1HZS3g/uhkUW+IyXq9Ocgab1MxFc0N1vLK7fBRtdAq8fHCig2VI1foQhaO/p24Br oARg== MIME-Version: 1.0 X-Received: by 10.224.2.70 with SMTP id 6mr12940267qai.18.1406191938321; Thu, 24 Jul 2014 01:52:18 -0700 (PDT) Received: by 10.140.24.54 with HTTP; Thu, 24 Jul 2014 01:52:18 -0700 (PDT) In-Reply-To: <12448510.rPWIJSKt4t@rofl> References: <08503591-EFC8-48E6-984E-FFC292C5EA5F@ajf.me> <12448510.rPWIJSKt4t@rofl> Date: Thu, 24 Jul 2014 10:52:18 +0200 Message-ID: To: Patrick Schaaf Cc: PHP internals , Andrea Faulds Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Scalar Type Hinting With Casts (re-opening) From: pierre.php@gmail.com (Pierre Joye) On Thu, Jul 24, 2014 at 10:42 AM, Patrick Schaaf 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