title: Getting first 3 values of an array in PHP
body: <p>Suppose I have an array that looks like this</p>
  
  <pre><code>array ([apple] =&gt; 1, [dog]=&gt;2, [cat]=&gt;5, [bread]=&gt;9, [shoes]=&gt; 4)
  </code></pre>
  
  <p>Is it possible for me to print the first 3 values of the array? If so, how? Any ideas?</p>