mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-8.2' into PHP-8.3
* PHP-8.2: Backport deprecation warning ignores to unbreak CI
This commit is contained in:
commit
f3ee902c3d
2 changed files with 25 additions and 2 deletions
|
@ -350,8 +350,10 @@ PHP_METHOD(XSLTProcessor, importStylesheet)
|
|||
newdoc = xmlCopyDoc(doc, 1);
|
||||
xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL);
|
||||
PHP_LIBXML_SANITIZE_GLOBALS(parse);
|
||||
PHP_LIBXML_IGNORE_DEPRECATIONS_START
|
||||
xmlSubstituteEntitiesDefault(1);
|
||||
xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
|
||||
PHP_LIBXML_IGNORE_DEPRECATIONS_END
|
||||
|
||||
sheetp = xsltParseStylesheetDoc(newdoc);
|
||||
PHP_LIBXML_RESTORE_GLOBALS(parse);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue