On Sat, Feb 3, 2018 at 9:27 AM, Wes <netmo....@gmail.com> wrote:

> Hello PHPeople. I just published the RFC "Deprecation of fallback to root
> scope".
>
> It is quite a substantial change, but as you can read in the RFC, can be a
> (basically) transparent one.
> I'm referring to the possibility to shim it in userland. Essentially, this
> would move the feature from core to userland.
>
> I hope you like it. Let me know what you think.
>
> https://wiki.php.net/rfc/fallback-to-root-scope-deprecation


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?

I am with stas that this will go towards a huge BC break if the deprecation
was acted on at any time in the future. and in addition people will silence
the notices on global error reporting level, because violations would
happen on a massive scale, inclusing the cost of them being raised dragging
performance down. This will be a problem since other notices will go
unnoticed.

Reply via email to