Re: [RFC][DISCUSSION] Deprecation of fallback to root scope
| From: | Wes | Date: | Sat, 03 Feb 2018 10:22:37 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Deprecation of fallback to root scope | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-101750@lists.php.net to get a copy of this message | ||
No idea, I'm not really sure what's the difference between E_STRICT and
E_DEPRECATED.
Yeah the shim is just a rough POC (completely forgot that define() can
define in namespaces).
Nicolas Grekas on twitter also suggested that we should introduce
function_alias() that works like class_alias().
With that the shim would be literally a couple of lines long.