mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
41390ad8ed
commit
54028b9d81
1 changed files with 22 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue