array |
array() |
Creates an array |
https://www.w3schools.com/php/func_array.asp |
array |
array_change_key_case() |
Changes all keys in an array to lowercase or uppercase |
https://www.w3schools.com/php/func_array_change_key_case.asp |
array |
array_chunk() |
Splits an array into chunks of arrays |
https://www.w3schools.com/php/func_array_chunk.asp |
array |
array_column() |
Returns the values from a single column in the input array |
https://www.w3schools.com/php/func_array_column.asp |
array |
array_combine() |
Creates an array by using the elements from one "keys" array and one "values" array |
https://www.w3schools.com/php/func_array_combine.asp |
array |
array_count_values() |
Counts all the values of an array |
https://www.w3schools.com/php/func_array_count_values.asp |
array |
array_diff() |
Compare arrays, and returns the differences (compare values only) |
https://www.w3schools.com/php/func_array_diff.asp |
array |
array_diff_assoc() |
Compare arrays, and returns the differences (compare keys and values) |
https://www.w3schools.com/php/func_array_diff_assoc.asp |
array |
array_diff_key() |
Compare arrays, and returns the differences (compare keys only) |
https://www.w3schools.com/php/func_array_diff_key.asp |
array |
array_diff_uassoc() |
Compare arrays, and returns the differences (compare keys and values, using a user-defined key comparison function) |
https://www.w3schools.com/php/func_array_diff_uassoc.asp |
array |
array_diff_ukey() |
Compare arrays, and returns the differences (compare keys only, using a user-defined key comparison function) |
https://www.w3schools.com/php/func_array_diff_ukey.asp |
array |
array_fill() |
Fills an array with values |
https://www.w3schools.com/php/func_array_fill.asp |
array |
array_fill_keys() |
Fills an array with values, specifying keys |
https://www.w3schools.com/php/func_array_fill_keys.asp |
array |
array_filter() |
Filters the values of an array using a callback function |
https://www.w3schools.com/php/func_array_filter.asp |
array |
array_flip() |
Flips/Exchanges all keys with their associated values in an array |
https://www.w3schools.com/php/func_array_flip.asp |
array |
array_intersect() |
Compare arrays, and returns the matches (compare values only) |
https://www.w3schools.com/php/func_array_intersect.asp |
array |
array_intersect_assoc() |
Compare arrays and returns the matches (compare keys and values) |
https://www.w3schools.com/php/func_array_intersect_assoc.asp |
array |
array_intersect_key() |
Compare arrays, and returns the matches (compare keys only) |
https://www.w3schools.com/php/func_array_intersect_key.asp |
array |
array_intersect_uassoc() |
Compare arrays, and returns the matches (compare keys and values, using a user-defined key comparison function) |
https://www.w3schools.com/php/func_array_intersect_uassoc.asp |
array |
array_intersect_ukey() |
Compare arrays, and returns the matches (compare keys only, using a user-defined key comparison function) |
https://www.w3schools.com/php/func_array_intersect_ukey.asp |
array |
array_key_exists() |
Checks if the specified key exists in the array |
https://www.w3schools.com/php/func_array_key_exists.asp |
array |
array_keys() |
Returns all the keys of an array |
https://www.w3schools.com/php/func_array_keys.asp |
array |
array_map() |
Sends each value of an array to a user-made function, which returns new values |
https://www.w3schools.com/php/func_array_map.asp |
array |
array_merge() |
Merges one or more arrays into one array |
https://www.w3schools.com/php/func_array_merge.asp |
array |
array_merge_recursive() |
Merges one or more arrays into one array recursively |
https://www.w3schools.com/php/func_array_merge_recursive.asp |
array |
array_multisort() |
Sorts multiple or multi-dimensional arrays |
https://www.w3schools.com/php/func_array_multisort.asp |
array |
array_pad() |
Inserts a specified number of items, with a specified value, to an array |
https://www.w3schools.com/php/func_array_pad.asp |
array |
array_pop() |
Deletes the last element of an array |
https://www.w3schools.com/php/func_array_pop.asp |
array |
array_product() |
Calculates the product of the values in an array |
https://www.w3schools.com/php/func_array_product.asp |
array |
array_push() |
Inserts one or more elements to the end of an array |
https://www.w3schools.com/php/func_array_push.asp |