--TEST-- Bug #78697: ReflectionClass::implementsInterface - inaccurate error message with traits --FILE-- implementsInterface(T::class); } catch (ReflectionException $e) { echo $e->getMessage(); } ?> --EXPECT-- T is not an interface