mirror of
https://github.com/php/php-src.git
synced 2024-09-23 19:07:26 +00:00
- fix build, TSRMLS_FETCH must be the last declaration statement and init using TSRM cannot be done before either
This commit is contained in:
parent
74d06b92c7
commit
934aba9f4f
@ -937,9 +937,11 @@ static xmlParserInputPtr _php_libxml_user_entity_loader(const char *URL,
|
||||
**params[] = {&public, &system, &ctxzv},
|
||||
*retval_ptr = NULL;
|
||||
int retval;
|
||||
zend_fcall_info *fci;
|
||||
TSRMLS_FETCH();
|
||||
zend_fcall_info *fci = &LIBXML(entity_loader).fci;
|
||||
|
||||
|
||||
fci = &LIBXML(entity_loader).fci;
|
||||
|
||||
ALLOC_INIT_ZVAL(public);
|
||||
if (ID != NULL) {
|
||||
ZVAL_STRING(public, ID, 1);
|
||||
|
Loading…
Reference in New Issue
Block a user