title: Add values to an associative array in PHP
body: <p>I want to append an element to to end of an associative array.</p>
  
  <p>For example, my array is </p>
  
  <pre><code>$test=Array ([chemical] =&gt; asdasd [chemical_hazards] =&gt; ggggg ) 
  </code></pre>
  
  <p>and my result should be </p>
  
  <pre><code>$test=Array ([chemical] =&gt; asdasd [chemical_hazards] =&gt; ggggg [solution] =&gt; good) 
  </code></pre>
  
  <p>Could you tell me how to implement this?</p>