In PHP I would do this:
foreach( $array as $key => $value ) { echo $another_array[$key]; }
I can\'t see how to do that in Twig (in Sym
{% for value in array %} {% set the_index = attribute(another_array, loop.index) %} {{ the_index }} {% endfor %}