1--TEST--
2Twig supports method calls
3--TEMPLATE--
4{{ items.foo }}
5{{ items['foo'] }}
6{{ items[foo] }}
7{{ items[items[foo]] }}
8--DATA--
9return ['foo' => 'bar', 'items' => ['foo' => 'bar', 'bar' => 'foo']]
10--EXPECT--
11bar
12bar
13foo
14bar
15