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 f3ee902 + de3c5c0 commit f6268b8Copy full SHA for f6268b8
ext/zend_test/test.c
@@ -45,6 +45,7 @@
45
#if defined(HAVE_LIBXML) && !defined(PHP_WIN32)
46
# include <libxml/globals.h>
47
# include <libxml/parser.h>
48
+# include "ext/dom/php_dom.h"
49
#endif
50
51
ZEND_DECLARE_MODULE_GLOBALS(zend_test)
@@ -377,12 +378,14 @@ static ZEND_FUNCTION(zend_test_override_libxml_global_state)
377
378
{
379
ZEND_PARSE_PARAMETERS_NONE();
380
381
+ PHP_LIBXML_IGNORE_DEPRECATIONS_START
382
xmlLoadExtDtdDefaultValue = 1;
383
xmlDoValidityCheckingDefaultValue = 1;
384
(void) xmlPedanticParserDefault(1);
385
(void) xmlSubstituteEntitiesDefault(1);
386
(void) xmlLineNumbersDefault(1);
387
(void) xmlKeepBlanksDefault(0);
388
+ PHP_LIBXML_IGNORE_DEPRECATIONS_END
389
}
390
391
0 commit comments