> On Feb 12, 2020, at 2:12 AM, Guilliam Xavier <guilliam.xav...@gmail.com> > wrote: > > On Wed, Feb 12, 2020 at 4:58 AM Mike Schinkel <m...@newclarity.net> wrote: >> >> Or best would be to add ::nameof for functions, method, classes, interfaces >> and traits > > One problem is how would `x::nameof` resolve when you have several `x` > symbols (of distinct kinds) in scope?
Excellent point. -Mike -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php