I have an 2D array, it is simple as this:
[0] => Array
(
[0] => 6
[1] => 6
[2] => 6
)
[1] => Array
(
[0] => 6
[1] => 6
[2] => 11
)
[2] => Array
(
[0] => 6
[1] => 6
[2] => 6
)
Of course, they are inside of another array. What I want is to remove index[2] because it has same values as index[0]. I searched here and on google but couldn't find how to solve issue exactly like this one. Thank you in advance.