Array function library: Asort

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 function library: Array_rand

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 ...

Array function library: Krsort

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 ...

Array function library: Arsort

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 function library: Array_push

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 ...

Array function library: Key

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 function library: Array_walk

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 function library: Array_pop

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 ...

Array function library: In_array

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 function library: array_values

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   ...

Array function library: Array_pad

Array_pad (PHP4 >= 4.0b4) array_pad---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Packing array for specified length and value syntax: Array array_pad (array input, int pad_size, mixed pad_value); Description: ...

Array Function Library: Extract

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 function library: Array_unshift

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 ...

Array function library: Array_multisort

Array_multisort (PHP4 >= 4.0b4) array_multisort---&http://www.aliyun.com/zixun/aggregation/37954.html "> nbsp; Array syntax for sorting composite or multiple dimensions: bool Array_multisort (Array ar1 [, mixed arg [, mixed ...).

Array function library: End

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 function library: Array_unique

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 ...

Array function library: array_merge_recursive

Array_merge_recursive (PHP4 >= 4.0.1) array_merge_recursive---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Recursively merges more than two array syntax: array array_merge_recursive (array array ...)

Array function Libraries: each

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 ...

Array function library: Array_merge

Array_merge (PHP4) array_merge---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; Merges more than two array syntaxes: Array array_merge (array array1, array array2 [, array ...]); Explain ...

Array function Library: current

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 ...

Total Pages: 1204 1 .... 173 174 175 176 177 .... 1204 Go to: GO

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.