Skip to content

Commit 145525b

Browse files
committed
Merge branch 'PHP-8.1'
* PHP-8.1: xmlRelaxNGCleanupTypes() is deprecated as of libxml2 2.10.0
2 parents cbb024c + afc5ab4 commit 145525b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/libxml/libxml.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ PHP_LIBXML_API void php_libxml_initialize(void)
775775
PHP_LIBXML_API void php_libxml_shutdown(void)
776776
{
777777
if (_php_libxml_initialized) {
778-
#ifdef LIBXML_SCHEMAS_ENABLED
778+
#if defined(LIBXML_SCHEMAS_ENABLED) && LIBXML_VERSION < 21000
779779
xmlRelaxNGCleanupTypes();
780780
#endif
781781
/* xmlCleanupParser(); */

0 commit comments

Comments
 (0)