svn: /phpdoc/en/trunk/reference/simplexml/simplexmlelement/ getDocNamespaces.xml
| From: | Daniel Egeberg | Date: | Wed, 07 Jul 2010 11:18:44 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/simplexml/simplexmlelement/ getDocNamespaces.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6869@lists.php.net to get a copy of this message | ||
degeberg Wed, 07 Jul 2010 11:18:44 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301044
Log:
Fixed PHP bug #52273, added example outputs to SimpleXMLElement::getDocNamespaces().
Bug: http://bugs.php.net/52273 (Open) Example output is
missing
Changed paths:
U phpdoc/en/trunk/reference/simplexml/simplexmlelement/getDocNamespaces.xml
Modified: phpdoc/en/trunk/reference/simplexml/simplexmlelement/getDocNamespaces.xml
===================================================================
--- phpdoc/en/trunk/reference/simplexml/simplexmlelement/getDocNamespaces.xml 2010-07-07 10:43:18
UTC (rev 301043)
+++ phpdoc/en/trunk/reference/simplexml/simplexmlelement/getDocNamespaces.xml 2010-07-07 11:18:44
UTC (rev 301044)
@@ -71,6 +71,15 @@
?>
]]>
</programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+array(1) {
+ ["p"]=>
+ string(21) "http://example.org/ns"
+}
+]]>
+ </screen>
</example>
</para>
<para>
@@ -98,6 +107,19 @@
?>
]]>
</programlisting>
+ &example.outputs;
+ <screen>
+<![CDATA[
+array(3) {
+ ["p"]=>
+ string(21) "http://example.org/ns"
+ ["t"]=>
+ string(23) "http://example.org/test"
+ ["a"]=>
+ string(23) "http://example.org/addr"
+}
+]]>
+ </screen>
</example>
</para>
</refsect1>