Re: [RFC][DISCUSSION] Deprecation of fallback to root scope
| From: | Aaron Piotrowski | Date: | Sat, 03 Feb 2018 17:12:19 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Deprecation of fallback to root scope | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101757@lists.php.net to get a copy of this message | ||
> On Feb 3, 2018, at 11:04 AM, Sara Golemon <pollita@php.net> wrote:
>>
> I like the three phase approach. Gives frameworks/libraries/users
> ridiculous amounts of time to clean up their code, the route to clean
> code is clear and the updates are scriptable (I'll bet PHPCS can do
> this already), and at the end, we'll be able to have a better engine
> and make certain assumptions in the optimizer.
Yep, PHP-CS-Fixer can do this, see the native_function_invocation option.
I also like the three phase approach and would be excited to see the possibility for function
autoloading and further optimizations.
+1
Aaron Piotrowski