Re: [RFC] [Discussion] nameof

From: Date: Tue, 01 Sep 2026 18:55:15 +0000
Subject: Re: [RFC] [Discussion] nameof
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-132408@lists.php.net to get a copy of this message
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 (https://wiki.php.net/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

« previous php.internals (#132408) next »