--TEST-- Twig supports the string operators as variable names in assignments --TEMPLATE-- {% for matches in [1, 2] %} {{- matches }} {% endfor %} {% set matches = [1, 2] %} OK --DATA-- return [] --EXPECT-- 1 2 OK