12345678910111213141516171819202122232425 |
- --TEST--
- array index test
- --TEMPLATE--
- {% for key, value in days %}
- {{ key }}
- {% endfor %}
- --DATA--
- return array('days' => array(
- 1 => array('money' => 9),
- 2 => array('money' => 21),
- 3 => array('money' => 38),
- 4 => array('money' => 6),
- 18 => array('money' => 6),
- 19 => array('money' => 3),
- 31 => array('money' => 11),
- ));
- --EXPECT--
- 1
- 2
- 3
- 4
- 18
- 19
- 31
|