Skip to content
This repository was archived by the owner on Dec 26, 2023. It is now read-only.

Commit 178087e

Browse files
committed
Update README.md
1 parent 9510751 commit 178087e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Enumerated type for PHP by [Petr Knap].
55

66
## What is enum?
77

8+
> In computer programming, an enumerated type (also called enumeration or enum, or factor in the R programming language, and a categorical variable in statistics) is a data type consisting of a set of named values called elements, members, enumeral, or enumerators of the type. The enumerator names are usually identifiers that behave as constants in the language. A variable that has been declared as having an enumerated type can be assigned any of the enumerators as a value. In other words, an enumerated type has values that are different from each other, and that can be compared and assigned, but which are not specified by the programmer as having any particular concrete representation in the computer's memory; compilers and interpreters can represent them arbitrarily.
9+
[Enumerated type - Wikipedia, The Free Encyclopedia]
10+
811
### Usage of php-enum
912

1013
```php
@@ -29,5 +32,6 @@ Or manually clone this repository via `git clone https://github.com/petrknap/php
2932

3033

3134
[Petr Knap]:http://petrknap.cz/
35+
[Enumerated type - Wikipedia, The Free Encyclopedia]:https://en.wikipedia.org/w/index.php?title=Enumerated_type&oldid=701057934
3236
[one of released versions]:https://github.com/petrknap/php-enum/releases
3337
[this repository as ZIP]:https://github.com/petrknap/php-enum/archive/master.zip

0 commit comments

Comments
 (0)