Phabstractic: Enumeration Data Type
PHP doesn't provide a means of an Enumeration data type like languages such as C, or Java. There is an obscure SplEnum, but that doesn't seem to have been followed up on much. I have provided what I believe to be a superior Enumeration class for data types.
For more information see this blog post.