/tests/assert_templates/ifchanged.php
PHP | 26 lines | 25 code | 1 blank | 0 comment | 0 complexity | c7651de6015be32201bd78977141aac2 MD5 | raw file
1<?php 2 3$data = array('users' => array( 4 array( 5 'name' => 'foo', 6 'age' => 22, 7 'foo' => 2, 8 ), 9 array( 10 'name' => 'older Foo', 11 'age' => 23, 12 'foo' => 2 13 ), 14 array( 15 'name' => 'older Bar', 16 'age' => 23, 17 'foo' => 2 18 ), 19 array( 20 'name' => 'bar', 21 'age' => 22, 22 'foo' => 1 23 ), 24 ), 25 'regroup_field' => 'age', 26);