HI guys:
I'm used to using the enum data definition in C and other similar languages. Is there such a function within PHP??? I've seen quite a few instances of it being in MySQL, but not in PHP... Thanks..
Trevor...
The short answer is no, due to PHP's loose typing; it would need to be able to map from enums to ints and back.
My guess is that the closest you could come would be to use PHP's define() to do the equivalent of a C #define.