--TEST-- "with" tag with expression and only --TEMPLATE-- {% with {foo: 'foo', bar: 'BAZ'} only %} {{ foo }}{{ bar }}{{ baz }} {% endwith %} --DATA-- return ['foo' => 'baz', 'baz' => 'baz'] --EXCEPTION-- Twig\Error\RuntimeError: Variable "baz" does not exist in "index.twig" at line 3.