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 eade5c1 + 9eee4dd commit 034c3f2Copy full SHA for 034c3f2
ext/xml/compat.c
@@ -375,7 +375,9 @@ _get_entity(void *user, const xmlChar *name)
375
if (ret == NULL)
376
ret = xmlGetDocEntity(parser->parser->myDoc, name);
377
378
+ ZEND_DIAGNOSTIC_IGNORED_START("-Wdeprecated-declarations")
379
if (ret == NULL || parser->parser->instate == XML_PARSER_CONTENT) {
380
+ ZEND_DIAGNOSTIC_IGNORED_END
381
if (ret == NULL || ret->etype == XML_INTERNAL_GENERAL_ENTITY || ret->etype == XML_INTERNAL_PARAMETER_ENTITY || ret->etype == XML_INTERNAL_PREDEFINED_ENTITY) {
382
/* Predefined entities will expand unless no cdata handler is present */
383
if (parser->h_default && ! (ret && ret->etype == XML_INTERNAL_PREDEFINED_ENTITY && parser->h_cdata)) {
0 commit comments