Merge more than two arrays and sort order by object value

I have 3 arrays and i want to merge in single then sort it as per object value.

Array ( [0] => stdClass Object ( [ID] => 1 [name] => Mary Jane [count] => 420 [createdDate] => 2015-06-04 12:0:02 ) [1] => stdClass Object ( [ID] => 2 [name] => Johnny [count] => 234 [createdDate] => 2015-06-04 12:0:02 ) Array ( [2] => stdClass Object ( [ID] => 3 [name] => Kathy [count] => 4354 ) ) Array ( [2] => stdClass Object ( [ID] => 3 [name] => Kathy [count] => 4354 [createdDate] => 2015-06-04 12:0:02 ) ) ....

I want to merge above arrays and sort it as per createdDate field

Category:php Views:4 Time:2018-09-11
Tags: php arrays merge

Related post

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.149 (s). 12 q(s)