Re: Is there an RFC/discussion for ::class being a specific type?

From: Date: Fri, 19 Nov 2021 11:54:37 +0000
Subject: Re: Is there an RFC/discussion for ::class being a specific type?
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-116462@lists.php.net to get a copy of this message
> > For example, this is valid: > > echo "string"::class; > What! Why is it allowed when it gives the same as string::class, and $string::class is an error? https://3v4l.org/hfvXm#v8.1rc3 -- Guilliam Xavier

« previous php.internals (#116462) next »