summaryrefslogtreecommitdiff
path: root/tests/test_escapes/code.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_escapes/code.php')
-rw-r--r--tests/test_escapes/code.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_escapes/code.php b/tests/test_escapes/code.php
new file mode 100644
index 0000000..05984d1
--- /dev/null
+++ b/tests/test_escapes/code.php
@@ -0,0 +1,7 @@
+<?php
+
+function test_func($ste) {
+ $ste->register_tag("my_echo", function($ste, $params, $sub) {
+ return $params["text"];
+ });
+}