Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:108826 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 85538 invoked from network); 3 Mar 2020 16:46:42 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 3 Mar 2020 16:46:42 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id F3602180089 for ; Tue, 3 Mar 2020 07:05:53 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS12876 195.154.0.0/16 X-Spam-Virus: No X-Envelope-From: Received: from smtp.opensides.be (smtp.opensides.be [195.154.20.141]) by php-smtp4.php.net (Postfix) with ESMTP for ; Tue, 3 Mar 2020 07:05:52 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by smtp.opensides.be (Postfix) with ESMTP id CA0924B943D for ; Tue, 3 Mar 2020 16:05:51 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at opensides.be Received: from smtp.opensides.be ([127.0.0.1]) by localhost (smtp.opensides.be [127.0.0.1]) (amavisd-new, port 10024) with LMTP id KUd4Tywz4QQa for ; Tue, 3 Mar 2020 16:05:49 +0100 (CET) Received: from mcmic-probook.opensides.be (63.120.199.77.rev.sfr.net [77.199.120.63]) by smtp.opensides.be (Postfix) with ESMTPSA id 1E00F4B93F9 for ; Tue, 3 Mar 2020 16:05:49 +0100 (CET) To: internals@lists.php.net Date: Tue, 03 Mar 2020 16:05:47 +0100 Message-ID: <8847132.sgp3aFI6FL@mcmic-probook> Organization: FusionDirectory User-Agent: KMail/5.2.3 (Linux/4.9.0-12-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Subject: Re: [PHP-DEV] Require non-absolute trait method references to be unambiguous From: come.chilliet@fusiondirectory.org (=?ISO-8859-1?Q?C=F4me?= Chilliet) Le mardi 3 mars 2020, 15:11:27 CET Nikita Popov a =E9crit : > As the error message indicates, the ambiguity is resolved by writing >=20 > use T1, T2 { > T1::func as renamedFunc; > // or > T2::func as renamedFunc; > } >=20 > depending on which of those you actually meant. Is that valid in PHP-7 as well? =2D-=20 C=F4me Chilliet =46usionDirectory - https://www.fusiondirectory.org