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.
1 parent e2d9731 commit de3c5c0Copy full SHA for de3c5c0
ext/zend_test/test.c
@@ -43,6 +43,7 @@
43
#if defined(HAVE_LIBXML) && !defined(PHP_WIN32)
44
# include <libxml/globals.h>
45
# include <libxml/parser.h>
46
+# include "ext/dom/php_dom.h"
47
#endif
48
49
ZEND_DECLARE_MODULE_GLOBALS(zend_test)
@@ -326,12 +327,14 @@ static ZEND_FUNCTION(zend_test_override_libxml_global_state)
326
327
{
328
ZEND_PARSE_PARAMETERS_NONE();
329
330
+ PHP_LIBXML_IGNORE_DEPRECATIONS_START
331
xmlLoadExtDtdDefaultValue = 1;
332
xmlDoValidityCheckingDefaultValue = 1;
333
(void) xmlPedanticParserDefault(1);
334
(void) xmlSubstituteEntitiesDefault(1);
335
(void) xmlLineNumbersDefault(1);
336
(void) xmlKeepBlanksDefault(0);
337
+ PHP_LIBXML_IGNORE_DEPRECATIONS_END
338
}
339
340
0 commit comments