13.10.2016, 14:58
Quote:
|
No, it is not required but it avoids confusion. It is customary to write constants in all upper case and the E_ prefix is used to denote that it's part of an enumerator. It is important to note that enum specifiers are not variables; in a sense, it is a structured list of definitions.
|
The enum itsels does not contain variables but when I do something like:
PHP код:
new playerInfo[enum]


