Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:78844 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48160 invoked from network); 7 Nov 2014 15:20:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2014 15:20:25 -0000 Authentication-Results: pb1.pair.com smtp.mail=morrison.levi@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=morrison.levi@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.214.172 as permitted sender) X-PHP-List-Original-Sender: morrison.levi@gmail.com X-Host-Fingerprint: 209.85.214.172 mail-ob0-f172.google.com Received: from [209.85.214.172] ([209.85.214.172:33069] helo=mail-ob0-f172.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 94/21-38250-833EC545 for ; Fri, 07 Nov 2014 10:20:24 -0500 Received: by mail-ob0-f172.google.com with SMTP id wp4so2740892obc.3 for ; Fri, 07 Nov 2014 07:20:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=L32tOBPy4RZI8D/hv2+MnuKTz3SCbUIW8OY5xi3omho=; b=jQmuAsK/oXshTdGgKFY3Ia7GiAhiLN695O963G/4XHAZznQw8D0dO7eLyqiOqy5W7Q ulUej3MIe1fmfdFZsCBV5zerJ0Bdg+9t4SR2/iFpTQzqGHskm3f0cSKIqIfaxeUgFRsP Wt6DOqwHL39tJLmbCHcNYPSH3ry4UL7TBg8BEozhUxsF53ncZqrkiAsnt8AlKmACxFbW FC4n4YQhqREKmyTPW+3L/na72/JDDOmaO1+mozLFp0uNxKKa0fgEOUCVes1RvpmvcE/n 3C0KZI5tl62Jlmr3Fk7xBF8xPxNq1nI5tGDkBe+0U0N8jkRCcuCjCkwKEoAObvPyTc6y TUcw== MIME-Version: 1.0 X-Received: by 10.202.208.211 with SMTP id h202mr9585476oig.29.1415373620869; Fri, 07 Nov 2014 07:20:20 -0800 (PST) Sender: morrison.levi@gmail.com Received: by 10.76.159.163 with HTTP; Fri, 7 Nov 2014 07:20:20 -0800 (PST) In-Reply-To: References: Date: Fri, 7 Nov 2014 08:20:20 -0700 X-Google-Sender-Auth: 0Cna-8XXR3tpQRTlgbLeh_zVJio Message-ID: To: internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [RFC][Vote Cancellation] Return Types From: levim@php.net (Levi Morrison) > A bug was discovered in the implementation of the return types RFC[1] > that cannot be fixed by the current implementation. A strategy for > fixing the bug has been identified but alters some noticeable behavior > in PHP-land. I do not want people to feel like I did a bait-and-switch > move during voting phase, so I have cancelled the vote while this > issue is being fixed. More information about the bug and the strategy > for fixing it will be published soon. Here is some more information on the bug: The following code does a covariance check on B::foo(), because it needs to ensure that C is compatible with its parent method A::foo(), which returns a B. However, C does not exist at the moment that the check is performed and an error is emited saying that it could not find class C. If these were split into separate files and autoloaded the current solution would work.