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.
_xmlParserCtxt.inState
1 parent 81d1529 commit 2039664Copy full SHA for 2039664
ext/xml/compat.c
@@ -355,7 +355,9 @@ get_entity(void *user, const xmlChar *name)
355
if (ret == NULL)
356
ret = xmlGetDocEntity(parser->parser->myDoc, name);
357
358
+ ZEND_DIAGNOSTIC_IGNORED_START("-Wdeprecated-declarations")
359
if (ret == NULL || parser->parser->instate == XML_PARSER_CONTENT) {
360
+ ZEND_DIAGNOSTIC_IGNORED_END
361
if (ret == NULL || ret->etype == XML_INTERNAL_GENERAL_ENTITY || ret->etype == XML_INTERNAL_PARAMETER_ENTITY || ret->etype == XML_INTERNAL_PREDEFINED_ENTITY) {
362
/* Predefined entities will expand unless no cdata handler is present */
363
if (parser->h_default && ! (ret && ret->etype == XML_INTERNAL_PREDEFINED_ENTITY && parser->h_cdata)) {
0 commit comments