title: PHP How to add to end of array?
body: <p>I'm having difficulty adding to the end of an array. Not sure how to do it.  Please help.</p>
  
  <pre><code>$person = array();
  $person = array("name"=&gt;"tom", "age"=&gt;20, "height"=&gt;180);
  </code></pre>
  
  <p>How do I add to the end of an array?  I want to add "weight"=>120 to the end of an existing array.</p>
  
  <p>Thanks</p>