title: Get the id and the value of an array generated dynamically
body: <p>I have a dynamically generated array which has data like following:</p>
  
  <pre><code>Array
  (
      'eti1'=&gt; 'value1'
      'eti5'=&gt; 'value5'
       'eti20'=&gt; 'value20'
      'etin'=&gt; 'valuen'
  )
  </code></pre>
  
  <p>this array has been generated in a controller symfony, and then sent to twig to generate a set of input text field dynamically
  each textfiel has as id the key of the array (eti..) and the value is the value of array (value ..).
  in this example i have 4 value, so i will generated 4 text fields
  helps please, hw i get the key and the value of each element in the array</p>