--TEST-- Twig allows to use named operators as variable names --TEMPLATE-- {% for match in matches %} {{- match }} {% endfor %} {{ in }} {{ is }} --DATA-- return array('matches' => array(1, 2, 3), 'in' => 'in', 'is' => 'is') --EXPECT-- 1 2 3 in is
info at phpclasses dot org