summaryrefslogtreecommitdiff
path: root/tests/test_static_numeric_array_access/code.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_static_numeric_array_access/code.php')
-rw-r--r--tests/test_static_numeric_array_access/code.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_static_numeric_array_access/code.php b/tests/test_static_numeric_array_access/code.php
new file mode 100644
index 0000000..77f48be
--- /dev/null
+++ b/tests/test_static_numeric_array_access/code.php
@@ -0,0 +1,12 @@
+<?php
+
+use kch42\ste\STECore;
+
+function test_func(STECore $ste)
+{
+ $ste->set_var_by_name("foo", array(
+ "foo",
+ "bar",
+ "baz",
+ ));
+}