Register php functions for xslt-filter.