From c00424e427930a33e6d8645cc3f23fb78ed29b9f Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 15 Oct 2014 09:37:55 +0200 Subject: bring back all the TSRMLS_FETCH() stuff for better comparability with the mainstream --- ext/xsl/xsltprocessor.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/xsl/xsltprocessor.c') diff --git a/ext/xsl/xsltprocessor.c b/ext/xsl/xsltprocessor.c index bb4060233e..20af855aa4 100644 --- a/ext/xsl/xsltprocessor.c +++ b/ext/xsl/xsltprocessor.c @@ -189,6 +189,8 @@ static void xsl_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs, int t xsl_object *intern; zend_string *callable = NULL; + TSRMLS_FETCH(); + if (! zend_is_executing(TSRMLS_C)) { xsltGenericError(xsltGenericErrorContext, "xsltExtFunctionTest: Function called from outside of PHP\n"); -- cgit v1.2.1