summaryrefslogtreecommitdiff
path: root/src/tests/xxe/disable_xxe_xml_parse.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/xxe/disable_xxe_xml_parse.phpt')
-rw-r--r--src/tests/xxe/disable_xxe_xml_parse.phpt5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/tests/xxe/disable_xxe_xml_parse.phpt b/src/tests/xxe/disable_xxe_xml_parse.phpt
index 6b48bea..bc7e338 100644
--- a/src/tests/xxe/disable_xxe_xml_parse.phpt
+++ b/src/tests/xxe/disable_xxe_xml_parse.phpt
@@ -70,7 +70,8 @@ $parser = create_parser();
70$doc = xml_parse($parser, $xml, true); 70$doc = xml_parse($parser, $xml, true);
71xml_parser_free($parser); 71xml_parser_free($parser);
72 72
73--EXPECT-- 73--EXPECTF--
74Warning: [snuffleupagus][0.0.0.0][xxe][log] A call to libxml_disable_entity_loader was tried and nopped in %a.php on line 41
74string(4) "TEST" 75string(4) "TEST"
75 76
76array(0) { 77array(0) {
@@ -81,6 +82,8 @@ array(0) {
81} 82}
82string(7) "TESTING" 83string(7) "TESTING"
83string(4) "TEST" 84string(4) "TEST"
85
86Warning: [snuffleupagus][0.0.0.0][xxe][log] A call to libxml_disable_entity_loader was tried and nopped in %a.php on line 46
84string(4) "TEST" 87string(4) "TEST"
85 88
86array(0) { 89array(0) {