--TEST-- Twig parses postfix expressions --TEMPLATE-- {% import _self as macros %} {% macro foo() %}foo{% endmacro %} {{ 'a' }} {{ 'a'|upper }} {{ ('a')|upper }} {{ -1|upper }} {{ macros.foo() }} {{ (macros).foo() }} --DATA-- return array(); --EXPECT-- a A A -1 foo foo
info at phpclasses dot org