projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
twig
/
twig
/
test
/
Twig
/
Tests
/
Fixtures
/
expressions
/
operators_as_variables.test
1
--TEST--
2
Twig allows to use named operators as variable names
3
--TEMPLATE--
4
{% for match in matches %}
5
{{- match }}
6
{% endfor %}
7
{{ in }}
8
{{ is }}
9
--DATA--
10
return array('matches' => array(1, 2, 3), 'in' => 'in', 'is' => 'is')
11
--EXPECT--
12
1
13
2
14
3
15
in
16
is