title: Twig for loop for arrays with keys
body: <p>I use Twig and I have an array with keys like this:</p>
  
  <pre><code>array[1] = "alpha"
  array[2] = "bravo"
  array[3] = "charlie"
  array[8] = "delta"
  array[9] = "echo"
  </code></pre>
  
  <p>And I would like to get the key <code>(1,2,3,8,9)</code> and the content <code>(alpha, bravo, charlie, delta, echo)</code> in a loop to get all value of this array.</p>
  
  <p>How do I solve this problem?</p>