PHP knowledge points (1)-array functions

Source: Internet
Author: User

Pointer in array

 -current ()-key ()-prev ()-next ()-reset ()-end ()   pre-defined array  $_server () $_env () $_request () $_get () $_post () $_files$_session () $_cookie () $GLOBALS ()    key/value handling related functions for arrays  array  array_keys ($array [, Search_value [, BOOL]])     Specifies that the first parameter represents all the key values of the returned array, specifies the second argument, returns only the key for that value, and the third value is a Boolean value that indicates whether the type is dependent. Array  array_values ($array)     Get a new array, the original array remains the same  bool  in_array () key    array_ Search () bool  is_set () bool  array_key_exists ()  array  array_flip ()     Key-value Exchange array   Array_reverse ()     Reverse count () = sizeof () array_count_values () Array_unique ()         The recurring value ignores the following    callback function  array  array_filter () bool   Array_walk () array   Array_map ()   Sort  sort () Rsort () Asort () Arsort () Ksort () Krsort () Natsort () Natcasesort () Usort () Uasort () Uksort () Array_ Multisort ()   Split, merge, decompose, and splice arrays  array_slice () Array_splice () Array_combine () Array_merge () Array_intersect () Array_diff ()    arrays and data Structures   Array_push ()     into the stack Array_pop () array_unshift ()   Some other functions  array_rand () Shuffle () Array_sum () range ( )

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.