Using static classes as function modifiers in templates

Just curious if anyone has used static class functions in templates.



Ie. similar to using something like strstr($s1, $s2) in a template variable like

{$s1|strstr:$s2}



But if a static class had a function like this, is this syntax honored?

{$s1|my_static_class::strstr:$s2}



I guess I could try it but thought I’d ask if anyone has used it.