Немного оптимизировал

This commit is contained in:
Федор Подлеснов 2015-12-02 11:06:54 +03:00
parent f02a0bac42
commit a49f10601b
3 changed files with 19 additions and 27 deletions

View file

@ -11,5 +11,5 @@ $tpl->compile('index.html');
echo $tpl->render(array(
'pagename' => 'awesome people',
'authors' => ['Paul', 'Jim', 'Jane']
'authors' => [['name' => 'Paul', 'age' => 10], ['name' => 'Jim', 'age' => 11], ['name' => 'Jane', 'age' => 12]]
));