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 38357eca18..8fb7547823 100644
--- a/ext/xmlwriter/tests/OO_010.phpt
+++ b/ext/xmlwriter/tests/OO_010.phpt
@@ -1,15 +1,15 @@
--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");
if (LIBXML_VERSION < 20701) die("skip: libxml2 2.7.1+ required");
?>
--FILE--
-<?php
+<?php
/* $Id$ */
$xw = new XMLWriter();
@@ -19,7 +19,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();