Skip to content

Commit afc5ab4

Browse files
committed
Merge branch 'PHP-8.0' into PHP-8.1
* PHP-8.0: xmlRelaxNGCleanupTypes() is deprecated as of libxml2 2.10.0
2 parents 497820e + f597546 commit afc5ab4

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
@@ -774,7 +774,7 @@ PHP_LIBXML_API void php_libxml_initialize(void)
774774
PHP_LIBXML_API void php_libxml_shutdown(void)
775775
{
776776
if (_php_libxml_initialized) {
777-
#ifdef LIBXML_SCHEMAS_ENABLED
777+
#if defined(LIBXML_SCHEMAS_ENABLED) && LIBXML_VERSION < 21000
778778
xmlRelaxNGCleanupTypes();
779779
#endif
780780
/* xmlCleanupParser(); */

0 commit comments

Comments
 (0)