Asort (PHP3, PHP4) Asort the relational syntax for arranging arrays and maintaining index values: void&http://www.aliyun.com/zixun/aggregation/37954.html >nbsp; Asort (array array); Description: This function rearranges the elements of an array by a-Z and maintains the corresponding relationship between the original index value and the element, which is mainly ...
Array_rand (PHP4 >= 4.0.0) array_rand---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Randomly select one or more values of an array syntax: Mixed array_rand (array input [, int num_req]) Description: Array_ran ...
Krsort (PHP3 >=3.0.13, PHP4 >= 4.0b4) krsort---&http://www.aliyun.com/zixun/aggregation/37954.html "> nbsp; Arranges the array syntax according to the inverted order of index values: int krsort (array array); Description: Z The array in reverse order of index values ...
Arsort (PHP3, PHP4) Arsort the relational syntax for---reverse the order of the array and maintain index values: void&http://www.aliyun.com/zixun/aggregation/37954.html "> nbsp; Arsort (array array); Description: This function reverses the order of the array elements (z) and maintains the relationship of the array element to its index value ...
Array_push (PHP4) array_push---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Add one or more elements to the end of the array syntax: int array_push (array array, mixed var [, mixed ...]); Description: This function arra the parameters ...
Key (PHP3, PHP4) key---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Gets the index value syntax from the array: Mixed key (array array); Description: This function returns the index that the current array metric refers to. Reference: Current () Next ()
Array_walk (PHP3 >= 3.0.0, PHP4) array_walk---Enables custom functions to handle the syntax of each element of an array: int&http://www.aliyun.com/zixun/aggregation /37954.html ">nbsp; Array_walk (Array arr, string func); ...
Array_pop (PHP4) array_pop---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Gets the last element syntax of the array: mixed Array_pop (array array); Description: This function returns the last element of an array, shortening an array to an element. Example ...
In_array (PHP4) in_array---Search for the existence of values in the array: bool In_array (mixed needle, array haystack); Description: This function searches the array haystack to see if the parameter needle exists in the array, returns true if found in the array, or returns FALSE. Example: <?php &http://www.aliyun ...
Array_http://www.aliyun.com/zixun/aggregation/9541.html ">values (PHP4) array_values---Returns all value syntax for an array: array Array_ Values (array input); Description: This function returns all of the values from an array of arrays. Example: <?php   ...
Extract (PHP3 >= 3.0.7, PHP4) array_extract---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; From the array input variable to the symbol table syntax: Void extract (array var_array, int [extract_type], Strin ...
Array_unshift (PHP4) array_unshift---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Add one or more elements to the beginning of the array syntax: int array_unshift (array array, mixed Var, [...]); Description: This function adds elements to the array ...
nd (PHP3, PHP4) End---Set the internal index of the array to the last element syntax: "array&http://www.aliyun.com/zixun/aggregation/37954.html" > nbsp; Array); Description: This function sets the internal metric of the array to the final element reference: current () end () &nbs ...
Array_unique (PHP4 >= 4.0.1) array_unique---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Removing the same value syntax from an array: array array_unique (array array) Description: Array_unique () takes the input arra ...
Each (PHP3, PHP4)---returns key/http://www.aliyun.com/zixun/aggregation/9541.html from the array >value to syntax: array each (array Array); Description: Returns the current key/value pair from array arrays and moves the array cursor (cursor) forward. Returned array ...
Current (PHP3, PHP4)---Returns the existing element syntax in the array: mixed&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp ; Current (array array); Note: Each array has an internal indicator of its current elements, indicators will be inserted into the first element of the array, until the process ...
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.