中文文档
English
Spanish
French
Japanese
Brazilian
German
Turkish
Russian
Enumerations overview »
« FAQ: things you need to know about namespaces
PHP Manual
Language Reference
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