1 |
array() |
Creates an array |
array |
2 |
array_change_key_case() |
Changes all keys in an array to lowercase or uppercase |
array |
3 |
array_chunk() |
Splits an array into chunks of arrays |
array |
4 |
array_column() |
Returns the values from a single column in the input array |
array |
5 |
array_combine() |
Creates an array by using the elements from one "keys" array and one "values" array |
array |
6 |
array_count_values() |
Counts all the values of an array |
array |
7 |
array_diff() |
Compare arrays, and returns the differences (compare values only) |
array |
8 |
array_diff_assoc() |
Compare arrays, and returns the differences (compare keys and values) |
array |
9 |
array_diff_key() |
Compare arrays, and returns the differences (compare keys only) |
array |
10 |
array_diff_uassoc() |
Compare arrays, and returns the differences (compare keys and values, using a user-defined key comparison function) |
array |
11 |
array_diff_ukey() |
Compare arrays, and returns the differences (compare keys only, using a user-defined key comparison function) |
array |
12 |
array_fill() |
Fills an array with values |
array |
13 |
array_fill_keys() |
Fills an array with values, specifying keys |
array |
14 |
array_filter() |
Filters the values of an array using a callback function |
array |
15 |
array_flip() |
Flips/Exchanges all keys with their associated values in an array |
array |
16 |
array_intersect() |
Compare arrays, and returns the matches (compare values only) |
array |
17 |
array_intersect_assoc() |
Compare arrays and returns the matches (compare keys and values) |
array |
18 |
array_intersect_key() |
Compare arrays, and returns the matches (compare keys only) |
array |
19 |
array_intersect_uassoc() |
Compare arrays, and returns the matches (compare keys and values, using a user-defined key comparison function) |
array |
20 |
array_intersect_ukey() |
Compare arrays, and returns the matches (compare keys only, using a user-defined key comparison function) |
array |
21 |
array_key_exists() |
Checks if the specified key exists in the array |
array |
22 |
array_keys() |
Returns all the keys of an array |
array |
23 |
array_map() |
Sends each value of an array to a user-made function, which returns new values |
array |
24 |
array_merge() |
Merges one or more arrays into one array |
array |
25 |
array_merge_recursive() |
Merges one or more arrays into one array recursively |
array |
26 |
array_multisort() |
Sorts multiple or multi-dimensional arrays |
array |
27 |
array_pad() |
Inserts a specified number of items, with a specified value, to an array |
array |
28 |
array_pop() |
Deletes the last element of an array |
array |
29 |
array_product() |
Calculates the product of the values in an array |
array |
30 |
array_push() |
Inserts one or more elements to the end of an array |
array |
31 |
array_rand() |
Returns one or more random keys from an array |
array |
32 |
array_reduce() |
Returns an array as a string, using a user-defined function |
array |
33 |
array_replace() |
Replaces the values of the first array with the values from following arrays |
array |
34 |
array_replace_recursive() |
Replaces the values of the first array with the values from following arrays recursively |
array |
35 |
array_reverse() |
Returns an array in the reverse order |
array |
36 |
array_search() |
Searches an array for a given value and returns the key |
array |
37 |
array_shift() |
Removes the first element from an array, and returns the value of the removed element |
array |
38 |
array_slice() |
Returns selected parts of an array |
array |
39 |
array_splice() |
Removes and replaces specified elements of an array |
array |
40 |
array_sum() |
Returns the sum of the values in an array |
array |
41 |
array_udiff() |
Compare arrays, and returns the differences (compare values only, using a user-defined key comparison function) |
array |
42 |
array_udiff_assoc() |
Compare arrays, and returns the differences (compare keys and values, using a built-in function to compare the keys and a user-defined function to compare the values) |
array |
43 |
array_udiff_uassoc() |
Compare arrays, and returns the differences (compare keys and values, using two user-defined key comparison functions) |
array |
44 |
array_uintersect() |
Compare arrays, and returns the matches (compare values only, using a user-defined key comparison function) |
array |
45 |
array_uintersect_assoc() |
Compare arrays, and returns the matches (compare keys and values, using a built-in function to compare the keys and a user-defined function to compare the values) |
array |
46 |
array_uintersect_uassoc() |
Compare arrays, and returns the matches (compare keys and values, using two user-defined key comparison functions) |
array |
47 |
array_unique() |
Removes duplicate values from an array |
array |
48 |
array_unshift() |
Adds one or more elements to the beginning of an array |
array |
49 |
array_values() |
Returns all the values of an array |
array |
50 |
array_walk() |
Applies a user function to every member of an array |
array |