toArray() toArray() : array Returns an array of defined constants Constant name in key, constant value in value. Returns array