When the transformation is run outside PHP (e.g. via xsltproc or Saxon), `php:function` isn't available.