Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110285 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 77298 invoked from network); 27 May 2020 09:59:58 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 May 2020 09:59:58 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 1F5501804CB for ; Wed, 27 May 2020 01:40:21 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS20857 149.210.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from outbound0.mail.transip.nl (outbound0.mail.transip.nl [149.210.149.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 27 May 2020 01:40:20 -0700 (PDT) Received: from submission9.mail.transip.nl (unknown [10.103.8.160]) by outbound0.mail.transip.nl (Postfix) with ESMTP id 49X45t5QprzxNkd for ; Wed, 27 May 2020 10:40:18 +0200 (CEST) Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.52]) by submission9.mail.transip.nl (Postfix) with ESMTPA id 49X45r4lykz1xrY for ; Wed, 27 May 2020 10:40:16 +0200 (CEST) Received: by mail-wm1-f52.google.com with SMTP id r9so2237231wmh.2 for ; Wed, 27 May 2020 01:40:16 -0700 (PDT) X-Gm-Message-State: AOAM5309/uOyM/NSIsPhUtVTMDmef1ec0NXCVC/BG3uw99GdgAqt28FT rob9n0CQiE4PP3bli+SqB+oOFCHIGGocNMMGVf0= X-Google-Smtp-Source: ABdhPJxg8UKuRbsEaHFf8xhN/Mn82UUKGrF0eLOqSUqxNHvfxakSYLMENm/UtfNTZqSp4GmhIvUYPvQCu8z9M8nDzYU= X-Received: by 2002:a1c:790a:: with SMTP id l10mr3044012wme.80.1590568814198; Wed, 27 May 2020 01:40:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Wed, 27 May 2020 09:40:02 +0100 X-Gmail-Original-Message-ID: Message-ID: To: =?UTF-8?Q?Alexandru_P=C4=83tr=C4=83nescu?= Cc: Marco Pivetta , PHP internals Content-Type: multipart/alternative; boundary="0000000000002942cf05a69d298c" X-Scanned-By: ClueGetter at submission9.mail.transip.nl DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=transip-a; d=pmmaga.net; t=1590568818; h=from:subject:to:cc: references:in-reply-to:date:mime-version:content-type; bh=r5UHyIOJLjIyF8rRkRedkmkZ/TiB5540psHexuKYv78=; b=cxiY65+iq5/WlHJaTqas8cKFWKL07chrRVO1WgMASO4YsI5eVT5b7Xh0RaB7NCdh2dker4 JiXlX1ZdnR9BwLF/WB1i5hfINMwTqQKkbXz9dK4T6HL7V2olaZ+8xZdtSvw75JYk4piM1W RLJZBZxqkaa4vzVZ+FnP4Pp+UZdYrawjzufCRwoyuhxSd8Oa7J93RviYJXrQNwUsh5GZs9 ITeP8hyCgslXsgdprb3DRsx9pvCmNce0PK3RBzB6wPMc0qTE/B+bOUn7SheDhJg2JIylEO L/1k8Kij4uNRiONWJJ/aMxy2HCTK0xPx66ETezIIGcNel63QB9/tNbnEQQRI6Q== X-Report-Abuse-To: abuse@transip.nl Subject: Re: [PHP-DEV] [RFC] [Discussion] Remove inappropriate inheritance signature checks on private methods From: mail@pmmaga.net (=?UTF-8?Q?Pedro_Magalh=C3=A3es?=) --0000000000002942cf05a69d298c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, May 27, 2020 at 8:23 AM Alexandru P=C4=83tr=C4=83nescu wrote: > In terms of what final does to a private method, as I understand, it will > just be ignored everywhere? (except for constructor) > I mean, final deny overriding but private methods cannot be overridden by > design. We should have that in the documentation as well, I guess. > Hi Alex. Indeed, it would just be ignored. Optionally, as the other open issue of the RFC currently proposes, we would throw a warning on those cases precisely to warn the user that it is meaningless. And yes, I agree that the docs should be updated to explain that explicitly= . Regards, Pedro --0000000000002942cf05a69d298c--