title: TWIG, dynamic associative array key
body: <p>I need to create a array with a dynamic key.</p>
  
  <p>Example:</p>
  
  <pre><code>{% set key = 'a' %}
  {% set value = 'b' %}
  {% set array = {key:value} %}
  </code></pre>