We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a2ea452 + f3ee902 commit 0d90b6cCopy full SHA for 0d90b6c
ext/xsl/xsltprocessor.c
@@ -304,8 +304,10 @@ PHP_METHOD(XSLTProcessor, importStylesheet)
304
newdoc = xmlCopyDoc(doc, 1);
305
xmlNodeSetBase((xmlNodePtr) newdoc, (xmlChar *)doc->URL);
306
PHP_LIBXML_SANITIZE_GLOBALS(parse);
307
+ ZEND_DIAGNOSTIC_IGNORED_START("-Wdeprecated-declarations")
308
xmlSubstituteEntitiesDefault(1);
309
xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS;
310
+ ZEND_DIAGNOSTIC_IGNORED_END
311
312
sheetp = xsltParseStylesheetDoc(newdoc);
313
PHP_LIBXML_RESTORE_GLOBALS(parse);
0 commit comments