1,array_push () presses one or more elements into the end of the array
2,array_pop gets the last element of the array and removes it from the original array.
3,shuffle () The array is scrambled, preserving the original key name
4,count () calculates the number of elements in an array, or the number of properties of an object
5,array_flip () returns an array after a key-value reversal
6,array_keys () gets all the keys of the array and makes up an array
7,array_flip () returns an array after a key-value reversal
8,array_values () returns all the values in the array, forming an array
9,array_reverse () Reverses the array and returns
10,array_rand () randomly extracts one or more from an array, note that the key name
11,each () Returns the key value pointed to by the current pointer of the array and moves the pointer to the next
12,array_unique () to delete duplicate values in the array
13,sort () Sorts the given array in ascending order without returning the key name
14,asort () sorts the array, while maintaining the index relationship
15,arsort () To reverse-sort an array while maintaining an index relationship
16,ksort () sorts an array by key name
17,krsort () An array in reverse order by key name
18,natsort () array sorted by natural sort algorithm
19,natcasesort () An array of natural sorting algorithms, case insensitive
20,fopen () Open file or URL address
PHP functions Learn 20 daily (fifth day)