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;