diff options
Diffstat (limited to 'tests/test_tagname/code.php')
-rw-r--r-- | tests/test_tagname/code.php | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/tests/test_tagname/code.php b/tests/test_tagname/code.php deleted file mode 100644 index e934989..0000000 --- a/tests/test_tagname/code.php +++ /dev/null @@ -1,22 +0,0 @@ -<?php - -use kch42\ste\STECore; - -function test_func(STECore $ste) -{ - $names = array( - "foo", - "ab_cd", - "foo123baz", - "x0123", - ); - - foreach ($names as $name) { - $ste->register_tag( - $name, - function ($ste, $params, $sub) use ($name) { - return $name; - } - ); - } -} |