array
array
Keys from array become values and values from array become keys.
Get first key of a given array
Get the first element of an array
Get first $n elements of a given array
Return a key by its numeric index in the array
Searches the array for a given value and returns the first corresponding key if successful. If the third parameter strict is set to TRUE then it will search for identical elements in the array.
Return all the keys of the given array.
Get the number of elements in an array
Get last $n elements of a given array
Return array value by index location
Get the values of a given array.
Question whether given array has given key
Question whether given array contains a given element
Question whether an array is empty or not.
Question if given array contains one or more other arrays
Returns a string containing a string representation of all the array elements in the same order, with the $separator string between each element.
Join elements in a multi dimensional array
Keep any element from given array that its key is in the given list of keys
Count the number of values in an array
Deletes every element of given array for which the given callback function evaluates to false.
For the given array only keep elements that are in the list of given $values
Get last key of a given array
Get last element of a given array
Send each value of an array to a given function and replace it with the return value of that function.
Merges the elements of one array with another.
Removes duplicate values from an array
Pass each key to callback function and remove that element from the array if callback returns true.
Remove any element from given array that its key is in the given list of keys
For the given array remove elements that are in the list of given $values
Turn a multidimensional array into a CSV string. The column names are created using the key values of the array.
Remove a portion of the array and optionally replace it with something else
Pass each value to callback function and remove that element from the array if callback returns true.
Get elements starting at given index (default=1) to the end
Reverse the order of ginev array elements
Fuzzy search array values
Shuffle the elements in a given array
Extract a slice of the array
Sort array by keys in ascending (low to high) order
Sort array by value in ascending order (low to high)
Sort array by values in reverse order (high to low)
Calculate the sum of values in a given array
Get one or more random keys from an array
Return a random value inside given array
Sort an array by a callback function that compares two values at a time and returns the sorted array.
Add one or more elements to the beginning of an array.
Add one or more elements to the end of an array.
Get the difference between two arrays.
Gets the difference between two array using their key for comparison calculation
Get the highest value of an array
Get the lowest value of an array
