The project is to emulate enum in php. The idea was originally from http://stackoverflow.com/questions/956401/can-i-get-consts-defined-on-a-php-class