Re: [RFC][DISCUSSION] Deprecation of fallback to root scope
| From: | Marcio Almada | Date: | Sat, 03 Feb 2018 16:46:21 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Deprecation of fallback to root scope | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101754@lists.php.net to get a copy of this message | ||
2018-02-03 6:27 GMT-02:00 Wes <netmo.php@gmail.com>:
> 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
>
>
>
Personally, I'm a +1 on this. I just can't see a 3/2 majority voting yes on
this proposal. But the odds could be a little better with
a "batteries included" RFC offering a tool to automatically update code by
adding the necessary use statements for core functions,
constants, and classes.
Good luck,
Márcio Almada
https://github.com/marcioAlmada