title: Merge two objects in php
body: <p>I use an API that returns me to an email address given an array like this:</p>
  
  <pre>stdClass Object
  (
      [status] => OK
      [contact] => stdClass Object
          (
              [id] => 0000000
              [email] => toto@free.fr
              [last_activity] => 1362131446
              [last_update] => 0
              [created_at] => 1356617740
              [sent] => 5
              [open] => 1
              [click] => 1
              [spam] => 0
              [bounce] => 0
              [blocked] => 0
              [queued] => 0
          )
  [lists] => Array
          (
              [0] => stdClass Object
                  (
                      [active] => 1
                      [unsub] => 1
                      [unsub_at] => 1363078528
                  )
  
          )
  
  )
  </pre>
  
  <p>how to merge info [contact] with [lists] [0] in a single object?</p>
  
  <p>Thank you for your help</p>