diff options
Diffstat (limited to 'ext/dom/tests/dom_xinclude.phpt')
-rw-r--r-- | ext/dom/tests/dom_xinclude.phpt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/dom/tests/dom_xinclude.phpt b/ext/dom/tests/dom_xinclude.phpt index a698895c60..2f4bbf3e1a 100644 --- a/ext/dom/tests/dom_xinclude.phpt +++ b/ext/dom/tests/dom_xinclude.phpt @@ -12,7 +12,7 @@ $dom = new domdocument; $data = file_get_contents(__DIR__."/xinclude.xml"); $reldir = str_replace(getcwd(),".",__DIR__); if (DIRECTORY_SEPARATOR == '\\') { - $reldir = str_replace('\\',"/", $reldir); + $reldir = str_replace('\\',"/", $reldir); } $data = str_replace('compress.zlib://ext/dom/tests/','compress.zlib://'.$reldir."/", $data); @@ -21,7 +21,7 @@ $dom->loadXML($data); $dom->xinclude(); print $dom->saveXML()."\n"; foreach ($dom->documentElement->childNodes as $node) { - print $node->nodeName."\n"; + print $node->nodeName."\n"; } ?> --EXPECTF-- |