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

From: Date: Sun, 04 Feb 2018 09:07:25 +0000
Subject: Re: [RFC][DISCUSSION] Deprecation of fallback to root scope
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-101759@lists.php.net to get a copy of this message
Hi! > I hope you like it. Let me know what you think. > > https://wiki.php.net/rfc/fallback-to-root-scope-deprecation I do not see how this makes sense. This RFC claims there's no BC breakage, while it deprecates one of the most widely used functions of the language (using unqualified global functions from inside namespaces) and adds warnings which will break a lot of existing code (and yes, notice and warning are basically the same). I do not see how it makes sense to force people to use \strlen everywhere (since most of the code in large apps uses namespaces now) for a tiny and rare possibility that someone would override strlen. Unless I serously misunderstand what this RFC is proposing, I am absolutely against it and think doing something like this would be harmful to PHP. Am I missing something here? -- Stas Malyshev smalyshev@gmail.com

« previous php.internals (#101759) next »