php array functions

Function
Description
Create an array
Changes all keys in an array
Split an array into chunks
Creates an array by using one array for keys and another for its values
Counts all the values of an array
Exchanges all keys with their associated values in an array
Return all the keys or a subset of the keys of an array
Merge one or more arrays
Sort multiple or multi-dimensional arrays
Pad array to the specified length with a value
Calculate the product of values in an array
Pick one or more random entries out of an array
Return an array with elements in reverse order
Searches the array for a given value and returns the corresponding key if successful
Extract a slice of the array
Remove a portion of the array and replace it with something else
Calculate the sum of values in an array
Removes duplicate values from an array
Sort an array in reverse order and maintain index association
Sort an array and maintain index association
Create array containing variables and their values
Count all elements in an array, or properties in an object
Return the current element in an array
Return the current key and value pair from an array and advance the array cursor
Set the internal pointer of an array to its last element
Checks if a value exists in an array
Checks if a variable is an array
Fetch a key from an array
Sort an array by key in reverse order
Sort an array by key
Assign variables as if they were an array
Sort an array using a case insensitive "natural order" algorithm
Sort an array using a "natural order" algorithm
Advance the internal array pointer of an array
Rewind the internal array pointer
Create an array containing a range of elements
Set the internal pointer of an array to its first element
Sort an array in reverse order
Shuffle an array
Alias of count
Sort an array

No comments:

Post a Comment