dennis Some of ReflectionClassConstant's methods, specifically hasType() and getType(), are marked as unknown but are actually supported in php version 8.3 It's part of the original RFC: https://wiki.php.net/rfc/typed_class_constants and, although not mentioned in the official documentation, supporting code was committed last year https://github.com/php/php-src/commit/414f71a90254cc33896bb3ba953f979f743c198c