I have an array that I would like to return only the different value. Ex.:
Array
(
[555] => Array
(
[123] => 2017-02-04 00:00:00
[124] => 2017-02-04 00:00:00
[125] => 2017-08-31 14:59:59
[126] => 2017-02-04 00:00:00
[127] => 2017-02-04 00:00:00
)
)
I would like to get only the item:
[125] => 2017-08-31 14:59:59
Any ideas?
222array come into play?array_count_values()would be one option, I guess.