2. array_change_key_case
• Changes the case of all keys in an array
Syntax:
array_change_key_case(array $array, int $case)
case_lower: to convert to lower case
case_upper: to convert to upper case
5. array_chunk
• Split an array into chunks
Syntax: array_chunk(array
$array, int $length, bool $preserve_keys)
Length:The size of each chunk
preserve_keys:When set to true keys will be
preserved. Default is false which will reindex the
chunk numerically
44. array_pad
• Pad array to the specified length with a value
Syntax:
array_pad(array $array, int $length, mixed $valu
e): array
• lengthNew size of the array.
• valueValue to pad if array is less than length.
47. array_splice
• Remove a portion of the array and replace it with
something else
Syntax:
array_splice(
array &$array,
int $offset,
?int $length = null,
mixed $replacement = []
):