summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt4
-rw-r--r--ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt2
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt b/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
index 6310bb44c3..c9c45940b9 100644
--- a/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
+++ b/ext/libxml/tests/libxml_set_external_entity_loader_variation1.phpt
@@ -48,7 +48,7 @@ string(10) "-//FOO/BAR"
string(25) "http://example.com/foobar"
array(4) {
["directory"]=>
- string(36) "%s"
+ string(%d) "%s"
["intSubName"]=>
string(3) "foo"
["extSubURI"]=>
@@ -60,7 +60,7 @@ string(13) "-//FOO/ENTITY"
string(32) "http://example.com/fooentity.ent"
array(4) {
["directory"]=>
- string(36) "%s"
+ string(%d) "%s"
["intSubName"]=>
string(3) "foo"
["extSubURI"]=>
diff --git a/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt b/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
index d0fd066f39..b6251bea6d 100644
--- a/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
+++ b/ext/libxml/tests/libxml_set_external_entity_loader_variation2.phpt
@@ -37,7 +37,7 @@ echo "Done.\n";
--EXPECTF--
string(10) "-//FOO/BAR"
-string(46) "%sfoobar.dtd"
+string(%d) "%sfoobar.dtd"
Warning: DOMDocument::validate(): Could not load the external subset "foobar.dtd" in %s on line %d
bool(false)