SomeClass::class error???

From: Date: Wed, 05 Jul 2023 16:13:53 +0000
Subject: SomeClass::class error???
Groups: php.internals 
Request: Send a blank email to internals+get-120751@lists.php.net to get a copy of this message
I'm new here on the list... Hello everyone! I use ::class sometimes to check some classes, but it works with any keyword, even if the class doesn't exist. The IDE doesn't show the error, and I only detect the error when the specific piece of code is running... <?php echo foo::class;

« previous php.internals (#120751) next »