diff options
Diffstat (limited to 'src/tests/xxe/disable_xxe_xml_parse.phpt')
| -rw-r--r-- | src/tests/xxe/disable_xxe_xml_parse.phpt | 5 |
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); |
| 71 | xml_parser_free($parser); | 71 | xml_parser_free($parser); |
| 72 | 72 | ||
| 73 | --EXPECT-- | 73 | --EXPECTF-- |
| 74 | Warning: [snuffleupagus][0.0.0.0][xxe][log] A call to libxml_disable_entity_loader was tried and nopped in %a.php on line 41 | ||
| 74 | string(4) "TEST" | 75 | string(4) "TEST" |
| 75 | 76 | ||
| 76 | array(0) { | 77 | array(0) { |
| @@ -81,6 +82,8 @@ array(0) { | |||
| 81 | } | 82 | } |
| 82 | string(7) "TESTING" | 83 | string(7) "TESTING" |
| 83 | string(4) "TEST" | 84 | string(4) "TEST" |
| 85 | |||
| 86 | Warning: [snuffleupagus][0.0.0.0][xxe][log] A call to libxml_disable_entity_loader was tried and nopped in %a.php on line 46 | ||
| 84 | string(4) "TEST" | 87 | string(4) "TEST" |
| 85 | 88 | ||
| 86 | array(0) { | 89 | array(0) { |
