I have an array-like:
Array
(
[0] => 4
[1] => 1861
)
Array
(
[0] => 4
[1] => 1938
)
Array
(
[0] => 4
[1] => 1452
)
Array
(
[0] => 4
[1] => 1938
)
Array
(
[0] => 21
)
This is a single array contain this array of elements. I need the result like :
$arr = array(4,1861,1938,1452,21);
That means I need the only array unique values from these arrays. For this, I am using array_walk_recursive(), array_merge() etc. But I didn't get my results.