summaryrefslogtreecommitdiff
path: root/ext/xmlwriter/tests/OO_010.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xmlwriter/tests/OO_010.phpt')
-rw-r--r--ext/xmlwriter/tests/OO_010.phpt10
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/xmlwriter/tests/OO_010.phpt b/ext/xmlwriter/tests/OO_010.phpt
index 5c384797d2..e69aaed428 100644
--- a/ext/xmlwriter/tests/OO_010.phpt
+++ b/ext/xmlwriter/tests/OO_010.phpt
@@ -1,14 +1,14 @@
--TEST--
XMLWriter: libxml2 XML Writer, writeAttributeNS method
---CREDITS--
+--CREDITS--
Mauricio Vieira <mauricio [at] @mauriciovieira [dot] net>
#testfest PHPSP on 2014-07-05
--SKIPIF--
-<?php
-if (!extension_loaded("xmlwriter")) die("skip");
+<?php
+if (!extension_loaded("xmlwriter")) die("skip");
?>
--FILE--
-<?php
+<?php
$xw = new XMLWriter();
$xw->openMemory();
@@ -17,7 +17,7 @@ $xw->setIndentString(' ');
$xw->startDocument('1.0', "UTF-8");
$xw->startElement('root');
$xw->startElementNS('ns1', 'child1', 'urn:ns1');
-$xw->writeAttributeNS('ns1', 'att1', 'urn:ns1', '<>"\'&');
+$xw->writeAttributeNS('ns1', 'att1', 'urn:ns1', '<>"\'&');
$xw->writeElement('chars', "special characters: <>\"'&");
$xw->endElement();
$xw->endDocument();