Email or username:

Password:

Forgot your password?
Alexey Skobkin

Did someone tried to find out if a STRING representation of FQCN (like '\MyNamespace\SomeEnum') of an enum is of \StringBackedEnum?

I can check if it's \BackedEnum using \is_a($classname, \BackedEnum::class, true), but it doesn't work for \StringBackedEnum.

Has anyone encountered this problem?

3v4l.org/VBSSW

#PHP #question #help #dev #web

1 comment
Go Up