Re: [RFC] [Discussion] nameof
| From: | Robert Landers | Date: | Sun, 14 Jan 2024 22:57:47 +0000 |
| Subject: | Re: [RFC] [Discussion] nameof | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-122151@lists.php.net to get a copy of this message | ||
Hello Internals,
After much thought and deliberation, I've updated the nameof RFC
(https://wiki.php.net/rfc/nameof) to reflect most of this discussion
and refine a few edge cases regarding objects. TL;DR: there are a few
rules regarding how properties of objects are addressed that I hope a
few people will like (and would make it much more usable in static
contexts, like attributes).
I'm still not fully settled on the syntax, and this is still very much
a work in progress. So, I'd love feedback in that regard.
Robert Landers
Software Engineer
Utrecht NL