CornerShot
« FAQ
Enumerations overview »
PHP Manual
Language Reference
Enumerations
Enumerations
Table of Contents
Enumerations overview
Basic enumerations
Backed enumerations
Enumeration methods
Enumeration static methods
Enumeration constants
Traits
Enum values in constant expressions
Differences from objects
Value listing
Serialization
Why enums aren't extendable
Examples