PHP BackedEnum interface fails the instanceof operator
Given: enum TestEnum: string { case CASE_1 = "first case"; case CASE_2 = "Second case"; } This is supposed to return true: TestEnum::class instanceof BackedEnum But I get false I tried the following from this post (it fails to run…