PHP commonly used array ()?????????????????????? Create an array .????? Array_change_key_case ()???????? Returns an array with uppercase or lowercase keys .????? Array_chunk ()?????????????????? Splits an array into a common PHP array.
Array ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Create an array .? ? ? ?? Array_change_key_case ()? ?? ?? ?? ? Returns an array with uppercase or lowercase keys .? ? ? ?? Array_chunk ()? ? ? ?? ?? ?? ?? ?? ?? ??? Splits an array into new array blocks .? ? ? ?? Array_combine ()? ? ? ?? ?? ?? ?? ?? ?? ??? Create a new array by combining two arrays .? ? ? ?? Array_count_values ()? ?? ?? ?? ?? ? Used to count the number of times all values appear in the array .? ? ? ?? Array_diff ()? ? ? ?? ?? ?? ?? ?? ?? ??? Returns the number of difference sets of two arrays .? ? ? ?? Array_diff_assoc ()? ? ? ?? ?? ?? ?? ?? ? Compare the key name and key value, and return the number of difference sets of the two arrays .? ? ? ?? Array_diff_key ()? ? ? ?? ?? ?? ?? ?? ? Compares the key names and returns the number groups of different sets of two arrays .? ? ? ?? Array_diff_uassoc ()? ? ? ?? ?? ?? ?? ?? ? You can use the callback function provided by the user to perform an index check to calculate the array's difference set .? ? ? ?? Array_diff_ukey ()? ? ? ?? ?? ?? ?? ?? ? Use the callback function to compare the difference set of the calculated array with the key name .? ? ? ?? Array_fill ()? ? ? ?? ?? ?? ?? ?? ?? ??? Fill the array with the given value .? ? ? ?? Array_filter ()? ? ? ?? ?? ?? ?? ?? ?? ??? Use the callback function to filter elements in the array .? ? ? ?? Array_flip ()? ? ? ?? ?? ?? ?? ?? ?? ??? Exchange keys and values in the array .? ? ? ?? Array_intersect ()? ? ? ?? ?? ?? ?? ?? ? Calculates the intersection of arrays .? ? ? ?? Array_intersect_assoc ()? ?? ?? ?? ? Compare the key name and key value, and return the intersection array of the two arrays .? ? ? ?? Array_intersect_key ()? ?? ?? ?? ??? Use the key name to compare and calculate the intersection of arrays .? ? ? ?? Array_intersect_uassoc ()? ?? ?? ??? Check and calculate the intersection of arrays with indexes. use the callback function to compare indexes .? ? ? ?? Array_intersect_ukey ()? ?? ?? ?? ? Use the callback function to compare the key names to calculate the intersection of arrays .? ? ? ?? Array_key_exists ()? ? ? ?? ?? ?? ?? ?? ? Check whether the given key name or index exists in the array .? ? ? ?? Array_keys ()? ? ? ?? ?? ?? ?? ?? ?? ??? Returns all the keys in the array .? ? ? ?? Array_map ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Call the callback function to act on the units of the given array .? ? ? ?? Array_merge ()? ? ? ?? ?? ?? ?? ?? ?? ??? Combine one or more numbers into an array .? ? ? ?? Array_merge_recursive ()? ?? ?? ?? ? Recursively merge one or more arrays .? ? ? ?? Array_multisort ()? ? ? ?? ?? ?? ?? ?? ? Sorts multiple arrays or multi-dimensional arrays .? ? ? ?? Array_pad ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Fill the array with a value to the specified length .? ? ? ?? Array_pop ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Bring up the last unit of the array (out stack ).? ? ? ?? Array_product ()? ? ? ?? ?? ?? ?? ?? ?? ??? Calculate the product of all values in the array .? ? ? ?? Array_push ()? ? ? ?? ?? ?? ?? ?? ?? ??? Push one or more units (elements) to the end of the array (into the stack ).? ? ? ?? Array_rand ()? ? ? ?? ?? ?? ?? ?? ?? ??? Randomly selects one or more elements from the array and returns the result .? ? ? ?? Array_reduce ()? ? ? ?? ?? ?? ?? ?? ?? ??? Use the callback function to iteratively simplify the array to a single value .? ? ? ?? Array_reverse ()? ? ? ?? ?? ?? ?? ?? ?? ??? Flip the elements in the original array sequentially, create a new array, and return the result .? ? ? ?? Array_search ()? ? ? ?? ?? ?? ?? ?? ?? ??? Search for the given value in the array. if the value is successful, the corresponding key name is returned .? ? ? ?? Array_shift ()? ? ? ?? ?? ?? ?? ?? ?? ??? Delete the first element in the array and return the value of the deleted element .? ? ? ?? Array_slice ()? ? ? ?? ?? ?? ?? ?? ?? ??? Retrieve a piece of value in the array according to the conditions and return .? ? ? ?? Array_splice ()? ? ? ?? ?? ?? ?? ?? ?? ??? Remove part of the array and replace it with other values .? ? ? ?? Array_sum ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Calculate the sum of all values in the array .? ? ? ?? Array_udiff ()? ? ? ?? ?? ?? ?? ?? ?? ??? Use the callback function to compare data to calculate the difference set of the array .? ? ? ?? Array_udiff_assoc ()? ? ? ?? ?? ?? ?? ?? ? Calculate the difference set of the array with index check. use the callback function to compare the data .? ? ? ?? Array_udiff_uassoc ()? ? ? ?? ?? ?? ?? ? Use the callback function to compare data and indexes .? ? ? ?? Array_uintersect ()? ? ? ?? ?? ?? ?? ?? ? Calculate the intersection of arrays and use the callback function to compare the data .? ? ? ?? Array_uintersect_assoc ()? ?? ?? ??? Check and calculate the intersection of arrays with indexes. use the callback function to compare the data .? ? ? ?? Array_uintersect_uassoc ()? ?? ?? ? Use the callback function to compare data and indexes .? ? ? ?? Array_unique ()? ? ? ?? ?? ?? ?? ?? ?? ??? Delete the repeated values in the array .? ? ? ?? Array_unshift ()? ? ? ?? ?? ?? ?? ?? ?? ??? Insert one or more elements at the beginning of the array .? ? ? ?? Array_values ()? ? ? ?? ?? ?? ?? ?? ?? ??? Returns all values in the array .? ? ? ?? Array_walk ()? ? ? ?? ?? ?? ?? ?? ?? ??? Apply user functions to each member in the array .? ? ? ?? Array_pai_recursive ()? ?? ?? ?? ? Recursively apply user functions to each member in the array .? ? ? ?? Arsort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Sort the array in reverse order and maintain the index relationship .? ? ? ?? Asort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Sort the array and maintain the index relationship .? ? ? ?? Compact ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Create an array, including the variable names and their values .? ? ? ?? Count ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Calculate the number of elements in the array or the number of attributes in the object .? ? ? ?? Current ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Returns the current element in the array .? ? ? ?? Each ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Return the current key/value pair in the array and move the array pointer one step forward .? ? ? ?? End ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Point the internal pointer of the array to the last element .? ? ? ?? Extract ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Import the variable from the array to the current symbol table .? ? ? ?? In_array ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Check whether the specified value exists in the array .? ? ? ?? Key ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Get the key name from the joined array .? ? ? ?? Krsort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Sort the array in reverse order by key name .? ? ? ?? Ksort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Sort the array by key name .? ? ? ?? List ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Assign the values in the array to some variables .? ? ? ?? Natcasesort ()? ? ? ?? ?? ?? ?? ?? ?? ??? Use the "natural sorting" algorithm to sort arrays by case-insensitive letters .? ? ? ?? Natsort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Use the "natural sorting" algorithm to sort arrays .? ? ? ?? Next ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Move the internal pointer in the array one by one .? ? ? ?? Pos ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? The alias of current .? ? ? ?? Prev ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Returns the internal pointer of the array to one .? ? ? ?? Range ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Creates an array containing elements in the specified range .? ? ? ?? Reset ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Point the internal pointer of the array to the first element .? ? ? ?? Rsort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Sort the array in reverse order .? ? ? ?? Shuffle ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Sorts the elements in the array in random order .? ? ? ?? Sizeof ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? The alias of count .? ? ? ?? Sort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Sort arrays .? ? ? ?? Uasort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Use the custom comparison function to sort the values in the array and maintain the index Association .? ? ? ?? Uksort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ? Use the custom comparison function to sort the key names in the array .? ? ? ?? Usort ()? ? ? ?? ?? ?? ?? ?? ?? ?? ?? ?? ? Sort the values in the array using the user-defined comparison function. |