title: php - how to point internal array pointer to specific element
body: <p>I have an associated array who's last elements start with </p>
  
  <pre><code>[0] =&gt; value
  </code></pre>
  
  <p>moving onwards</p>
  
  <pre><code>[1] =&gt; value, [2] =&gt; value ... etc
  </code></pre>
  
  <p>But it wont be determined until run time how many elements there will be (1, 2 ,3 etc). So, I am trying to write a script which will pull off those last elements and store them in a separate array for looping. To do this, I will need to know how to point start the pointer at associated array element [0] and then continue until the end of the array.</p>
  
  <p>How can I achieve this?</p>