title: PHP : Foreach Loop Not Starting With Zero
body: <p>I have this variable : </p>
  
  <pre><code>$key = 'text1-text2-text3-021-039-947-927-827-927';
  $key = explode ('-', $key);
  </code></pre>
  
  <p>first three of $key <code>($key[0]...$key[2])</code> always contains text and it won't be a problem to me. but the rest of it is dynamic.</p>
  
  <p>in that case, the rest of it contains 6 more variables : <code>$key[3]...$key[8]</code> but some other case, it can be 10, 9, 2, etc based on user's input.</p>
  
  <p>now the question is... how to echo each key by using FOREACH loop starting with <code>$key[3]</code>? not <code>$key[0]</code>. thanks.</p>