« FAQ: things you need to know about namespaces
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
Examples