Array ( [0] => stdClass Object ( [id] => 1 [user] => test ) ) Array ( [0] => stdClass Object ( [addtime] => 2021-8-25 [password] => 123456 ) )
How to merge the above two arrays into the following array? Can you give me the code? Thank you.
Array ( [0] => stdClass Object ( [id] => 1 [user] => test [addtime] => 2021-8-25 [password] => 123456 ) )
Merge arrays The array_merge() function merges arrays together and returns a combined array