On Tue, Mar 3, 2020 at 4:06 PM Côme Chilliet < [email protected]> wrote:
> Le mardi 3 mars 2020, 15:11:27 CET Nikita Popov a écrit :
> > As the error message indicates, the ambiguity is resolved by writing
> >
> > use T1, T2 {
> > T1::func as renamedFunc;
> > // or
> > T2::func as renamedFunc;
> > }
> >
> > depending on which of those you actually meant.
>
> Is that valid in PHP-7 as well?
>
Yes, this is valid in PHP 7.
Nikita
