I have an array that looks like this
Array
(
[0] => 1,2,4
[1] => 1
[2] => 1,2
[24] => 2
[44] => 1,2,3,4,5
[86] => 1,2,5
[139] => 4
[156] => 1,4
[170] => 1,2,4,5
[201] => 1,3
[208] => 1,2,3
[237] => 1,5
)
Now i want to merge all values into one single array without the duplicates so the desired output should look like this
Array(
[0]=>1,2,3,4,5
)
Any help would be appreciated. Thanks