Link Details

Link 887911 thumbnail
User 1027163 avatar

By phpflow
Published: Dec 07 2012 / 10:36

Today i am working on multidimensional array.I need unique array of multidimensional array. I use array_unique() to get unique but its work on single dimensional array not to work on multi dimensional arrays. After alot of goggling I have found answer to find unique multidimensional array,so for this We will use serialization of array. Serialization is used to storing or passing PHP values around without losing their type and structure.
  • 5
  • 0
  • 431
  • 360

Add your comment

Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (4)

Voters Against This Link (0)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java