ReflectionEnum::isBackedDetermines if an Enum is a Backed Enum Description
public bool ReflectionEnum::isBacked()
A Backed Enum is one that has a native backing scalar equivalent, either a string or an int. Not all Enums are backed. ParametersThis function has no parameters. Return Values
Examples
Example #1 ReflectionEnum::isBacked example
The above example will output: bool(false) bool(true) |