diff options
author | Anatol Belski <ab@php.net> | 2014-09-26 20:57:14 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-09-26 20:57:14 +0200 |
commit | 42ddd5f314c16e73d43e52cb415caa54c64ec0e9 (patch) | |
tree | 4bd214fdf604ab5e2fb9bb202bfcc8c272216d67 /ext | |
parent | e48b1965055e5e179f3825ad5ba613bafc9e04c3 (diff) | |
download | php-git-42ddd5f314c16e73d43e52cb415caa54c64ec0e9.tar.gz |
cleanup TSRMLS_FETCH in ext/xml
Diffstat (limited to 'ext')
-rw-r--r-- | ext/xml/xml.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/xml/xml.c b/ext/xml/xml.c index f1a3442b6d..ecbfae53d2 100644 --- a/ext/xml/xml.c +++ b/ext/xml/xml.c @@ -470,7 +470,6 @@ static void xml_set_handler(zval *handler, zval *data) static void xml_call_handler(xml_parser *parser, zval *handler, zend_function *function_ptr, int argc, zval *argv, zval *retval) { int i; - TSRMLS_FETCH(); ZVAL_UNDEF(retval); if (parser && handler && !EG(exception)) { @@ -786,7 +785,6 @@ void _xml_startElementHandler(void *userData, const XML_Char *name, const XML_Ch parser->ctag = zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); } else if (parser->level == (XML_MAXLEVEL + 1)) { - TSRMLS_FETCH(); php_error_docref(NULL TSRMLS_CC, E_WARNING, "Maximum depth exceeded - Results truncated"); } } @@ -928,7 +926,6 @@ void _xml_characterDataHandler(void *userData, const XML_Char *s, int len) zend_hash_next_index_insert(Z_ARRVAL(parser->data), &tag); } else if (parser->level == (XML_MAXLEVEL + 1)) { - TSRMLS_FETCH(); php_error_docref(NULL TSRMLS_CC, E_WARNING, "Maximum depth exceeded - Results truncated"); } } |