summaryrefslogtreecommitdiff
path: root/tests/test_escapes/code.php
blob: a1904c845a21dae2e44af4f4ae7e09251fc30826 (plain)
1
2
3
4
5
6
7
8
<?php

function test_func($ste)
{
    $ste->register_tag("my_echo", function ($ste, $params, $sub) {
        return $params["text"];
    });
}