<?php is_subclass_of(mixed $object_or_class, string $class, bool $allow_string = true): bool
<?php foreach (array_reverse($loadedClasses) as $loadedClass) { if ( is_subclass_of($loadedClass, HasPrintableTestCaseName::class) || is_subclass_of($loadedClass, TestCase::class)) { try { $class = new ReflectionClass($loadedClass);