Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:110428 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 79195 invoked from network); 8 Jun 2020 17:23:14 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 8 Jun 2020 17:23:14 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id D1F4E18055F for ; Mon, 8 Jun 2020 09:06:40 -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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS15169 209.85.128.0/17 X-Spam-Virus: No X-Envelope-From: Received: from mail-il1-f179.google.com (mail-il1-f179.google.com [209.85.166.179]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Mon, 8 Jun 2020 09:06:40 -0700 (PDT) Received: by mail-il1-f179.google.com with SMTP id t8so17291480ilm.7 for ; Mon, 08 Jun 2020 09:06:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=alVPsizHJS18O8kOfTOk4RK/exh5Sp91FfpZXYK0rRg=; b=B2q9bS4V6Gx7Uq4G0fjc1IpTwTw3yDcdDKAfIsOLw0brlS39EycNQ83e5A3zmlGVfh ufUNNgLOIbJaiZEa7tFIyyr0byFkG1fvZEDd0/NQ+7tI1FAPwLVQSi0p6DnVMlSK4rn+ QY+EZTvSPCoOV8EcwSgGT2U0buknAf3zKaWFxBhDP4h9wVeUhqlqVaDM9XuUm6pMyyks uqswaPfS7oU57VeENmLzxOjbSXlTK6Aiid+h3tGR9VYy0R5raJe3+yxBPXXYDEW2wivg 6CQODnW4O3eZRozsUUPOezAqHfCpv1FlVBTPNmMbQHB9uZi2xzfrkTlQcX3sWStAFBA0 SxEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=alVPsizHJS18O8kOfTOk4RK/exh5Sp91FfpZXYK0rRg=; b=nwGFUT14vP/ko2Tn+fWqDHFX0MvXJ/yzlNI4Jhe07phsFd8rSAYoqdNnSTeyvHjhJi Ar3j06wN/xsf4JdjokIIpjIG487zgvp2tkzf4MOqB5yWuryj6K5MeQ8z0GtKp59k7c0z uvrQwtugvwr57gdX54/TVM+80bGzFW1J+coI/PSjaiyjliA1wj9kcv2leYN0k7q5z0DU 5Wy4cIT+84X/Op4pEGyWYLteg5FcaMB323m97+qpiPyZLwYpzLi16D6ZMddL/aSSkSIa zyH87zQeBpKNsiAUmr4J5Vq8RsRf+5IpBg7HCR1eZjFyszLmfo8oNniSSCUAX8k/+NkO dFZw== X-Gm-Message-State: AOAM533rgfF/M2PHYYiiVgA2iTWdIt82AnRkOTlDw8wF8NtyF+PPhBz/ hAsv3bYaNHxUsIxG2tZgQdTRDYXQckLlRrv6H0Bup23lCIWF9A== X-Google-Smtp-Source: ABdhPJyoxGdHrFUoilmmyXFiu1edtH32b5v6z0+uA0iyqBfxdDOeRkrqh4KR4evrqTf48c8s1ouWW6FJxF/DeresmNw= X-Received: by 2002:a92:4885:: with SMTP id j5mr20625916ilg.35.1591632398087; Mon, 08 Jun 2020 09:06:38 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: Date: Mon, 8 Jun 2020 18:06:26 +0200 Message-ID: To: =?UTF-8?Q?Pedro_Magalh=C3=A3es?= Cc: PHP internals Content-Type: multipart/alternative; boundary="000000000000b37aa105a794cbfc" Subject: Re: [PHP-DEV] [RFC] [Discussion] Remove inappropriate inheritance signature checks on private methods From: ocramius@gmail.com (Marco Pivetta) --000000000000b37aa105a794cbfc Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hey Pedro, On Mon, Jun 8, 2020 at 5:59 PM Pedro Magalh=C3=A3es wrote= : > On Wed, May 27, 2020 at 12:07 AM Pedro Magalh=C3=A3es w= rote: > >> On Tue, May 26, 2020 at 3:46 PM Marco Pivetta wrote= : >> >>> Considering that, as far as I know, only the constructor remains >>> "special". >>> >> >> Leaving the special case only for constructors instead of all magic >> methods sounds better to me. Right now, that sounds like a winning >> compromise for the RFC. It is still an exception to a rule, but one that >> can be better justified. >> >> Thanks, >> Pedro >> > > I have updated both the implementation and the RFC to reflect this > exception for constructors. If no further discussion comes up, I'll open > the vote in a few days. > > Regards, > Pedro > Looking good! Just some formatting issues around __construct (rendered as _construct), but otherwise I would vote +1 for this! Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ --000000000000b37aa105a794cbfc--