Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  Fix wrong flags check for compression method in phar_object.c
  Fix missing check for xmlTextWriterEndElement
  Fix substr_replace with slots in repl_ht being UNDEF
This commit is contained in:
George Peter Banyard 2023-01-15 15:43:34 +00:00
commit ec377c687d
No known key found for this signature in database
GPG key ID: 3306078E3194AEBD
5 changed files with 38 additions and 4 deletions

View file

@ -449,7 +449,7 @@ PHP_FUNCTION(xmlwriter_write_element)
if (retval == -1) {
RETURN_FALSE;
}
xmlTextWriterEndElement(ptr);
retval = xmlTextWriterEndElement(ptr);
if (retval == -1) {
RETURN_FALSE;
}