initial commit; version 22.5.12042
This commit is contained in:
5
tests/templates/implicit_iterator/ImplicitIterator.php
Normal file
5
tests/templates/implicit_iterator/ImplicitIterator.php
Normal file
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
$arr = array('data' => array('Donkey Kong', 'Luigi', 'Mario', 'Peach', 'Yoshi'));
|
||||
|
||||
echo json_encode($arr);
|
1
tests/templates/implicit_iterator/implicit_iterator.json
Normal file
1
tests/templates/implicit_iterator/implicit_iterator.json
Normal file
@ -0,0 +1 @@
|
||||
{"data":["Donkey Kong","Luigi","Mario","Peach","Yoshi"]}
|
@ -0,0 +1,3 @@
|
||||
{{#data}}
|
||||
* {{.}}
|
||||
{{/data}}
|
5
tests/templates/implicit_iterator/implicit_iterator.txt
Normal file
5
tests/templates/implicit_iterator/implicit_iterator.txt
Normal file
@ -0,0 +1,5 @@
|
||||
* Donkey Kong
|
||||
* Luigi
|
||||
* Mario
|
||||
* Peach
|
||||
* Yoshi
|
Reference in New Issue
Block a user