summaryrefslogtreecommitdiff
path: root/ext/simplexml/tests/bug38354.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/simplexml/tests/bug38354.phpt')
-rw-r--r--ext/simplexml/tests/bug38354.phpt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/simplexml/tests/bug38354.phpt b/ext/simplexml/tests/bug38354.phpt
index d2fcde11c2..c78ba94fe3 100644
--- a/ext/simplexml/tests/bug38354.phpt
+++ b/ext/simplexml/tests/bug38354.phpt
@@ -10,14 +10,14 @@ $xml = simplexml_load_string(
<a href="javascript:alert(\'1\');"><strong>Item Two</strong></a>
</code>'
);
-
+
foreach ($xml->xpath("//*") as $element) {
var_dump($element->asXML());
}
echo "Done\n";
?>
---EXPECTF--
+--EXPECTF--
string(101) "<?xml version="1.0"?>
<code>
<a href="javascript:alert('1');"><strong>Item Two</strong></a>