summaryrefslogtreecommitdiff
path: root/tests/test_foreach/code.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_foreach/code.php')
-rw-r--r--tests/test_foreach/code.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/test_foreach/code.php b/tests/test_foreach/code.php
new file mode 100644
index 0000000..380ee69
--- /dev/null
+++ b/tests/test_foreach/code.php
@@ -0,0 +1,9 @@
+<?php
+
+function test_func($ste) {
+ $ste->vars["foo"] = array(
+ "a" => array("a" => 100, "b" => 200),
+ "b" => array("a" => 1, "b" => 2),
+ "c" => array("a" => 42, "b" => 1337)
+ );
+}