diff options
Diffstat (limited to 'tests/test_short_for_additional_attribs/code.php')
-rw-r--r-- | tests/test_short_for_additional_attribs/code.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test_short_for_additional_attribs/code.php b/tests/test_short_for_additional_attribs/code.php new file mode 100644 index 0000000..5d75d34 --- /dev/null +++ b/tests/test_short_for_additional_attribs/code.php @@ -0,0 +1,12 @@ +<?php + +use kch42\ste\STECore; + +function test_func(STECore $ste) +{ + $ste->set_var_by_name("data", array( + array('content' => 'foo', 'foo' => true), + array('content' => 'bar', 'foo' => false), + array('content' => 'baz', 'foo' => false), + )); +} |