enum_exists Checks if the enum has been defined &reftitle.description; boolenum_exists stringclass boolautoload&true; This function checks whether or not the given enum has been defined. &reftitle.parameters; enum The enum name. The name is matched in a case-insensitive manner. autoload Whether to call &link.autoload; by default. &reftitle.returnvalues; Returns &true; if enum is a defined enum, &false; otherwise. &reftitle.examples; <function>enum_exists</function> example ]]> &reftitle.seealso; function_exists class_exists interface_exists get_declared_classes