This can be done with array_unique but you'll also need to use the SORT_REGULAR
(PHP 5.2.9+) flag:
$array = array(
array(1227, 146, 1, 39),
array(1227, 146, 1, 39),
array(1228, 146, 1, 39),
);
$array = array_unique($array, SORT_REGULAR);
Output:
Array
(
[0] => Array
(
[0] => 1227
[1] => 146
[2] => 1
[3] => 39
)
[2] => Array
(
[0] => 1228
[1] => 146
[2] => 1
[3] => 39
)
)
Demo!
For older versions of PHP, you could use the solution I linked to in the question's comments:
$array = array_map("unserialize", array_unique(array_map("serialize", $array)));
Hope this helps!