Re: [VOTE] declare(function_and_const_lookup='global')

This is only part of a thread. view whole thread
  108314
January 29, 2020 10:06 marandall@php.net (Mark Randall)
> On Tue, Jan 28, 2020 at 8:22 PM tyson andre <tysonandre775@hotmail.com> wrote: >> I've opened the vote on https://wiki.php.net/rfc/use_global_elements
I too would like to thank you for the effort put in, but I find myself in agreement with several of the other posters that I'm not sure this is the right way to go about it. I'm not a fan of the disparity between classes and functions that this would introduce if used. Support for namespaced level functions is already quite poor (with lack of autoloading) and rather than try to gain a few bytes here and there, I think the better long-term option would be to simply remove support for them entirely in favour of static methods, and at that point the door is open to make functions and constants be global-only. -- Mark Randall