The array_change_key_case() function is used to change all keys of a given array to lower case or upper case.