diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-10-25 21:43:37 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-10-25 21:43:37 +0200 |
commit | eebf5cb885f266104333ac145355ef6e2599e5f6 (patch) | |
tree | a86dae876afae2dcea9a3d70e3b513e305b38415 /tests/test_escapes/code.php | |
parent | 6dc747c097e096075b4726eb4aebf1ce0ed71276 (diff) | |
download | ste-eebf5cb885f266104333ac145355ef6e2599e5f6.tar.gz ste-eebf5cb885f266104333ac145355ef6e2599e5f6.tar.bz2 ste-eebf5cb885f266104333ac145355ef6e2599e5f6.zip |
New Testparser2
Diffstat (limited to 'tests/test_escapes/code.php')
-rw-r--r-- | tests/test_escapes/code.php | 7 |
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"]; + }); +} |