Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:94286 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86668 invoked from network); 27 Jun 2016 15:55:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Jun 2016 15:55:33 -0000 Authentication-Results: pb1.pair.com smtp.mail=bishop.bettini@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bishop.bettini@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.218.67 as permitted sender) X-PHP-List-Original-Sender: bishop.bettini@gmail.com X-Host-Fingerprint: 209.85.218.67 mail-oi0-f67.google.com Received: from [209.85.218.67] ([209.85.218.67:33939] helo=mail-oi0-f67.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 64/F7-40393-47C41775 for ; Mon, 27 Jun 2016 11:55:33 -0400 Received: by mail-oi0-f67.google.com with SMTP id s17so31370274oih.1 for ; Mon, 27 Jun 2016 08:55:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:from:date :message-id:subject:to:cc; bh=J98Hbc5x+wJ22aiaftmG0ylaCJgQG6hNw19Ko/MuoNY=; b=Lk174KuP8hTiO3ve6QC3xZAVvjPE7OdvPz8Y7PZQvlUOXKG6vzRBOstNPAsQV9hQST oFxQEUzeuISHIdSSWwLaU25lTN+GS3ivw79WkV2LVvBYqT96Czf0azunp/1fnHeyfXLj 04+yQKkXfJpqorSVGyg+zxpL17tBWnswu+2XjzdXYGGygv4yJwpPaNHWPNLoC04g0rOE 3/nCQrBt84BLn0YRlW4AkvsBjFInY/qR4YL1SRUU75TZh6ebijNPjRm7tO6ktmWP7V2i WS7d6tJLrfJOGvZgREDdlrvR2CQUSXtDh0L+O00zdbLPoOeCmDIjQ/cQ6uroDLw3N+iJ vwkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:reply-to:sender:in-reply-to :references:from:date:message-id:subject:to:cc; bh=J98Hbc5x+wJ22aiaftmG0ylaCJgQG6hNw19Ko/MuoNY=; b=Up/k3q3Av+kZJAAw0hgdLyY1KX3jmVGR6itnQEhA+MaRpZaE4q5Eo5NGQFS3XWm66a n5WbNjT0MWRzC0yXJtTJqAxXOLFOYoKzZ/dT/hsvfxSEJgV7cd/FNwER3Hye6ZbaSybg uS2KQaIEVLZB4LfWl8tKECH6/6IZexFavKwqLvI6PAi4WndHoQvMpD8tvrIGT56eaQsZ 6IjWfnFtRN4ee+S8slF+CcSEKFlE/qJweK9UCJaU0PETqva04MM4NZfw3bWtbXhWBnsq DdCt5E/HmMoDBWt7rfI0b+brRnzmGgdJCcrhxPktACA4Vn+K9qCeAbItH/qrIYGT1uXp b5Bg== X-Gm-Message-State: ALyK8tLnVpdI3FpcbzQSjuIL5gopwpVFtd4k06QfureYfnYSeuR/zSn2PzkHHslcASR7jmUwd8AEqsirOtQOVQ== X-Received: by 10.157.41.204 with SMTP id g12mr1096903otd.68.1467042930278; Mon, 27 Jun 2016 08:55:30 -0700 (PDT) MIME-Version: 1.0 Reply-To: bishop@php.net Sender: bishop.bettini@gmail.com Received: by 10.157.42.164 with HTTP; Mon, 27 Jun 2016 08:55:00 -0700 (PDT) In-Reply-To: <69eb343f-8586-a8c0-9b4e-c301c9dcd556@gmail.com> References: <5d2a68ac-ccd8-59a9-31a8-91e40ecae12f@heigl.org> <500b1edb-ab52-da1e-5874-0fafa5dd8a7f@heigl.org> <69eb343f-8586-a8c0-9b4e-c301c9dcd556@gmail.com> Date: Mon, 27 Jun 2016 11:55:00 -0400 X-Google-Sender-Auth: 0bP2KvsTF4cJl7EmhB8OMXb7mdM Message-ID: To: Rowan Collins Cc: PHP internals Content-Type: multipart/alternative; boundary=001a113dd774bac7570536448cd2 Subject: Re: [PHP-DEV] Possible Bug with Interface, Constants and Inheritance From: bishop@php.net (Bishop Bettini) --001a113dd774bac7570536448cd2 Content-Type: text/plain; charset=UTF-8 On Mon, Jun 27, 2016 at 11:44 AM, Rowan Collins wrote: > > PHP Fatal error: Cannot inherit previously-inherited or override >> constant C1 from interface I1 in >> > > Can I just say this is a positively hideous error message. I can't > actually figure out how to parse its grammar: is it (inherit > previously-inherited) OR (override)? If so, what does "inherit > previously-inherited" mean? > > +1 on hideous. From this test , I believe "previously-inherited" refers to this situation: interface I1 { const BAR = 242; } interface I2 { const BAR = 242; } class Foo implements I1, I2 { }; --001a113dd774bac7570536448cd2--