Re: [PHP-DEV] SomeClass::class error???

2023-07-05 Thread Marco Pivetta
Hey Fabio, On Wed, 5 Jul 2023 at 18:14, Fabio Carpi wrote: > 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 > s

[PHP-DEV] SomeClass::class error???

2023-07-05 Thread Fabio Carpi
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...