projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
f3df328fe3c7715f5cb800642d5853cfcbe892d2
[yaffs-website]
/
array_call.test
1
--TEST--
2
Twig supports method calls
3
--TEMPLATE--
4
{{ items.foo }}
5
{{ items['foo'] }}
6
{{ items[foo] }}
7
{{ items[items[foo]] }}
8
--DATA--
9
return array('foo' => 'bar', 'items' => array('foo' => 'bar', 'bar' => 'foo'))
10
--EXPECT--
11
bar
12
bar
13
foo
14
bar