A simple mock of enumerations with php.