Fixed PHP bug #52273, added example outputs to SimpleXMLElement::getDocNamespaces().

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@301044 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Egeberg 2010-07-07 11:18:44 +00:00
parent 41390ad8ed
commit 54028b9d81

View file

@ -71,6 +71,15 @@ var_dump($namespaces);
?>
]]>
</programlisting>
&example.outputs;
<screen>
<![CDATA[
array(1) {
["p"]=>
string(21) "http://example.org/ns"
}
]]>
</screen>
</example>
</para>
<para>
@ -98,6 +107,19 @@ var_dump($namespaces);
?>
]]>
</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>