Hi!
I should comment on why people want strings as enum values - just look at ENUM type in MySQL. People use it, and if you take a look from that perspective - it makes sense.
Enum type in the database is totally different because it's a constraint, not an alias to some underlying piece of data like enums in many programming languages. I think enforcing such constraint in PHP would be quite complicated.
-- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php