Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98648 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55896 invoked from network); 28 Mar 2017 05:14:30 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Mar 2017 05:14:30 -0000 Authentication-Results: pb1.pair.com header.from=netmo.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=netmo.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.175 as permitted sender) X-PHP-List-Original-Sender: netmo.php@gmail.com X-Host-Fingerprint: 209.85.220.175 mail-qk0-f175.google.com Received: from [209.85.220.175] ([209.85.220.175:34733] helo=mail-qk0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CC/B9-33481-631F9D85 for ; Tue, 28 Mar 2017 00:14:30 -0500 Received: by mail-qk0-f175.google.com with SMTP id d10so50746004qke.1 for ; Mon, 27 Mar 2017 22:14:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=BfcSRx+jO4m21+qzzSH/UpgHZA8H7OyjMtbscOI0Tk8=; b=EiU4wJ6vKxNpfrl9FsF7R4e1lhs6K5KcK95H07dhhmWuq5xjYpAvWDf3xNCbjqSN8E kVbYgb4Qy3eCutpt1gUNi1bMxRcXxRv14EwvOseR9MGfKBroORiTgegQicYHbntvshlI NuMsogjWqU8utSJIVawuOZ9cqtj6VQsBgaGaodBfeasY/GC/Vb2izJ4HirVLDUE4Jtix J/C5Em7pGW1AmZcLefBem35OOsu8zUaMnKqh1N90VtDl1oCVlOVqicc/TBVTkCjDf+VK PfrQe0zpBZSUrI+oIdSpmHeIR4/r8OLI4jhHwMVQVUPvQOPzLLJWKeiVh7f4qu0cFzh8 Hthg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=BfcSRx+jO4m21+qzzSH/UpgHZA8H7OyjMtbscOI0Tk8=; b=DR/KNuaPsAibFQtSomvyDEl8dNhnlrzxU1SYmVkcxUA0itJsTE0uRS2SI+M+bY/LGA ciVyBDevhCfrTVK6BJHgJ7g7lO394ME2VqylUDSdhPWlk/PCYKumCCTLyLZw8bbD5rSB XIYQwqiIuV6l/KE28i2mxnudMuPJTwTnlv+4HvVgyS1nbAMZoCPInsUMEb9q+zVfQdp5 hDxr5uImtV3kvP2FHWPFoF1Kw6xmo7sSfmXQ/bgZw/hJkpe+k+EhCsvPz1o9OF5HGfgs 1rLAdQKBFRhHU7uieShaYttY3y77pQl1oxRh1JckPutHhCvOW1gfh5nV9Ry+79n/qrf3 OnsA== X-Gm-Message-State: AFeK/H3J77zn7qTM9iIanE9n98AYCaS0ZIy8FkDGUEYOKi/UypUeb5jlV6Vq7iHIh0X/rpNxemVEgamGthnqWA== X-Received: by 10.55.156.19 with SMTP id f19mr8098313qke.61.1490678067735; Mon, 27 Mar 2017 22:14:27 -0700 (PDT) MIME-Version: 1.0 Received: by 10.237.59.147 with HTTP; Mon, 27 Mar 2017 22:14:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 Mar 2017 07:14:27 +0200 Message-ID: To: Marco Pivetta Cc: PHP Internals List Content-Type: multipart/alternative; boundary=94eb2c086e1ab3df2e054bc38875 Subject: Re: [PHP-DEV][RFC][VOTE] Allow abstract function override From: netmo.php@gmail.com (Wes) --94eb2c086e1ab3df2e054bc38875 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Yes, yes you are :D Quick reminder:=E2=80=8B ```php interface iA { function bar(stdClass $x); } interface iB extends iA { function bar($x): stdClass; } // OK class cA { function bar(stdClass $x) {} } class cB extends cA { function bar($x): stdClass {} } // OK in 7.2 abstract class cC { abstract function bar(stdClass $x); } abstract class cD extends cC { abstract function bar($x): stdClass; } // Fatal error: why? class cE extends cD { function bar($x): stdClass{} } ``` --94eb2c086e1ab3df2e054bc38875--