title: PHP: Printing Associative Array
body: <p>In PHP, I have an associative array like this</p>
  
  <pre><code>$a = array('who' =&gt; 'one', 'are' =&gt; 'two', 'you' =&gt; 'three');
  </code></pre>
  
  <p>How to write a <code>foreach</code> loop that goes through the array and access the array key and value so that I can manipulate them (in other words, I would be able to get <code>who</code> and <code>one</code> assigned to two variables <code>$key</code> and <code>$value</code>?</p>