summaryrefslogtreecommitdiff
path: root/ext/dom/xpath.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-15 09:37:55 +0200
committerAnatol Belski <ab@php.net>2014-10-15 09:37:55 +0200
commitc00424e427930a33e6d8645cc3f23fb78ed29b9f (patch)
tree83190e6ac9d0714fc971fe0925a0d935414de91c /ext/dom/xpath.c
parent382f95e6127d52b079d172ccd017cf306402e015 (diff)
downloadphp-git-c00424e427930a33e6d8645cc3f23fb78ed29b9f.tar.gz
bring back all the TSRMLS_FETCH() stuff
for better comparability with the mainstream
Diffstat (limited to 'ext/dom/xpath.c')
-rw-r--r--ext/dom/xpath.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dom/xpath.c b/ext/dom/xpath.c
index fddf7da423..336365e342 100644
--- a/ext/dom/xpath.c
+++ b/ext/dom/xpath.c
@@ -82,6 +82,8 @@ static void dom_xpath_ext_function_php(xmlXPathParserContextPtr ctxt, int nargs,
char *str;
zend_string *callable = NULL;
dom_xpath_object *intern;
+
+ TSRMLS_FETCH();
if (! zend_is_executing(TSRMLS_C)) {
xmlGenericError(xmlGenericErrorContext,