summaryrefslogtreecommitdiff
path: root/src/tests/xxe/disable_xxe_dom_disabled.phpt
diff options
context:
space:
mode:
authorjvoisin2023-01-04 19:06:28 +0100
committerjvoisin2023-01-04 19:10:38 +0100
commit1bf0f3ec9088d34383c564d6306901ae6dc94cb5 (patch)
treed484c173bacd0e5c5d2847b43f99e99d26074019 /src/tests/xxe/disable_xxe_dom_disabled.phpt
parent0423e1b63364f4dd741d3a8ac8a880407ff37371 (diff)
Fix the CI for PHP8.2
Diffstat (limited to 'src/tests/xxe/disable_xxe_dom_disabled.phpt')
-rw-r--r--src/tests/xxe/disable_xxe_dom_disabled.phpt9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/tests/xxe/disable_xxe_dom_disabled.phpt b/src/tests/xxe/disable_xxe_dom_disabled.phpt
index 4a888ed..20399ec 100644
--- a/src/tests/xxe/disable_xxe_dom_disabled.phpt
+++ b/src/tests/xxe/disable_xxe_dom_disabled.phpt
@@ -10,6 +10,9 @@ dom
10--FILE-- 10--FILE--
11<?php 11<?php
12$dir = __DIR__; 12$dir = __DIR__;
13@unlink($dir . "/content.xml");
14@unlink($dir . "/content.txt");
15
13$content = '<content>WARNING, external entity loaded!</content>'; 16$content = '<content>WARNING, external entity loaded!</content>';
14file_put_contents($dir . '/content.txt', $content); 17file_put_contents($dir . '/content.txt', $content);
15 18
@@ -52,9 +55,3 @@ libxml_disable_entity to false: WARNING, external entity loaded!
52 55
53Warning: [snuffleupagus][0.0.0.0][xxe][log] A call to libxml_disable_entity_loader was tried and nopped in %s/tests/xxe/disable_xxe_dom_disabled.php on line %d 56Warning: [snuffleupagus][0.0.0.0][xxe][log] A call to libxml_disable_entity_loader was tried and nopped in %s/tests/xxe/disable_xxe_dom_disabled.php on line %d
54without xxe: foo 57without xxe: foo
55--CLEAN--
56<?php
57$dir = __DIR__;
58unlink($dir . "/content.xml");
59unlink($dir . "/content.txt");
60?>