Array processing, urgency, seeking master

Source: Internet
Author: User
$Array =array (44=> ' comedy ', 44=> ' army ', 44=> ' costume ', 44=> ' myth ', 43=> ' magic ', 43=> ' horror ', 43=> ' sci-fi ', 43=> ' odd Illusion ', 43=> ' suspense ', 46=> ' thriller ');

Data 44 and 43 are sorted out

44: (Comedy, Army, costume, myth)

43: (Magic, horror, sci-fi, fantasy, suspense)

46: (Thriller)


Reply to discussion (solution)

Do you have this array exist? Keys are required to be unique.

Are you sure the array is correct?? The key to the array must be unique, isn't it you're mistaken, this is a multi-dimensional array??

Did you get the key and value reversed?

Can't you see that such an array is real in your memory?

How to learn the array haha

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