title: Add a value to existing array
body: <p>I have an array of data:</p>
  
  <pre><code>Array ( [0] =&gt; stdClass Object 
    ( 
      [name] =&gt; admin
      [email] =&gt; admin@adminmail.com 
      [password] =&gt; cxvxvcxvcxv
    )
  )
  </code></pre>
  
  <p>I want to add a new data to this array so the final array looks like:</p>
  
  <pre><code>Array( [0] =&gt; stdClass Object 
    ( 
      [name] =&gt; admin
      [email] =&gt; admin@adminmail.com 
      [password] =&gt; cxvxvcxvcxv
      [enabled] =&gt; true
    )
  )
  </code></pre>
  
  <p>I tried array_merge(), but it gives me result like this:</p>
  
  <pre><code>Array( [0] =&gt; stdClass Object 
    ( 
      [name] =&gt; admin
      [email] =&gt; admin@adminmail.com 
      [password] =&gt; cxvxvcxvcxv
    )
    [enabled] =&gt; true
  )
  </code></pre>
  
  <p>How do I achieve the result I want?</p>