I have a array which consist of further sub arrays like
Array
(
[0] => MM
[1] => CM
[2] => Inch
)
Array
(
[0] => MM
[1] => CM
[2] => Inch
)
Since both arrays have same elements so i try to fetch one from that.I try array_unique(),merge function but didn't succeed.I can remove one array by using foreach loop but i want to know that if it is possible by single statement, like some bulitin function or one line code not more than that.Hopes got my point.I my trying to reduce my code