From 7bd505021c983c2575c534db6b4a451ce9deb0ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Andr=C3=A9=20dos=20Santos=20Lopes?= Date: Tue, 30 Aug 2011 01:08:22 +0000 Subject: - Turns out the external entity loader is not a per-thread global but a true global. Changed code accordingly; however, applications that embed PHP and also use libxml2 may be affected negatively. --- ext/libxml/php_libxml.h | 1 - 1 file changed, 1 deletion(-) (limited to 'ext/libxml/php_libxml.h') diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h index 8fe7fe4ad6..f1c8b7af69 100644 --- a/ext/libxml/php_libxml.h +++ b/ext/libxml/php_libxml.h @@ -43,7 +43,6 @@ ZEND_BEGIN_MODULE_GLOBALS(libxml) zval *stream_context; smart_str error_buffer; zend_llist *error_list; - xmlExternalEntityLoader defaultEntityLoader; /* saved here to allow it restored */ struct _php_libxml_entity_resolver { zend_fcall_info fci; zend_fcall_info_cache fcc; -- cgit v1.2.1