Re: [RFC][DISCUSSION] Deprecation of fallback to root scope

From: Date: Mon, 05 Feb 2018 14:09:01 +0000
Subject: Re: [RFC][DISCUSSION] Deprecation of fallback to root scope
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-101772@lists.php.net to get a copy of this message
On 04.02.2018 at 22:56, Stanislav Malyshev wrote: >> To get the same benefits (jit and such) wouldn't it be better to introduce >> a "use function root;" or similar statement or a declare() to specify this >> file imports all root functions? > > We already have this right now, […] Do we? AFAIK, it is not possible to import *all* functions (or even all symbols, for that matter) of a namespace, without explicitly mentioning them. -- Christoph M. Becker

« previous php.internals (#101772) next »