I need to join two array first array
array (size=11)
7100 => boolean false
7108 => boolean false
7110 => boolean false
7120 => boolean false
7130 => boolean false
7140 => boolean false
7150 => boolean false
7160 => boolean false
7170 => boolean false
7184 => boolean false
7197 => boolean false
second array
array (size=11)
7100 =>
object(stdClass)[101]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7108 =>
object(stdClass)[102]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7110 =>
object(stdClass)[103]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7120 =>
object(stdClass)[104]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7130 =>
object(stdClass)[105]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7140 =>
object(stdClass)[106]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7150 =>
object(stdClass)[107]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7160 =>
object(stdClass)[108]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7170 =>
object(stdClass)[109]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7184 =>
object(stdClass)[110]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
7197 =>
object(stdClass)[111]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
matching would look like this.
example with size 1
7100 =>
object(stdClass)[101]
public 'qtdadulto' => int 0
public 'qtdpintoumdia' => int 0
public 'qtdovosferteis' => int 0
(aqui a combinacao) public 'nome' => boolean false
My attempts
1º $combine = array_merge_recursive( $arResultado,$arraySaldo);
2º $arraycombine = array_combine($arResultado,$arraySaldo);