[PHP-DEV] Re: [RFC] [Discussion] nameof

Hey Rob,

On 13.05.23 15:27, Robert Landers wrote:

It is with much trepidation and excitement that I'd like to announce
the `nameof` RFC (PHP: rfc:nameof). It has changed
quite a bit in the last couple of days, so if you haven't seen the
latest draft, please check it out.

Essentially, it allows using `nameof()` anywhere a string can be used,
even in static contexts. From a developer's perspective, it is a
string and from the engine's perspective, it is also mostly a string
(depending on how deep we want to go on error checking -- see the
RFC).

Every other month I remember this RFC. Would love to see it in 8.7!

---

Cheers
Nick