string get_constant_name(mixed val)
If val matches any non-integer constant in this module, its name is returned.