[ create a new paste ] login | about

Link: http://codepad.org/tZdjHM8T    [ raw code | output | fork ]

PHP, pasted on May 27:
1
2
3
4
5
<?php

$a = array(array('t' => 1, 's' => 1111),array('t' => 1, 's'=> 1111),array('t' => 1, 's'=> 1111));

print_r(array_unique($a));


Output:
1
2
3
4
5
6
7
8
9
Array
(
    [0] => Array
        (
            [t] => 1
            [s] => 1111
        )

)


Create a new paste based on this one


Comments: