Merge branch 'PHP-8.2'

* PHP-8.2:
  Fix GH-11160: Few tests failed building with new libxml 2.11.0
This commit is contained in:
Niels Dossche 2023-05-06 23:15:57 +02:00
commit 82b05373b1
10 changed files with 178 additions and 2 deletions

View file

@ -514,6 +514,8 @@ static void php_libxml_ctx_error_level(int level, void *ctx, const char *msg)
} else {
php_error_docref(NULL, level, "%s in Entity, line: %d", msg, parser->input->line);
}
} else {
php_error_docref(NULL, E_WARNING, "%s", msg);
}
}