mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Integrate user note 79285
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@350601 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
4c1c34de4a
commit
cf57aac89a
1 changed files with 19 additions and 0 deletions
|
@ -51,6 +51,25 @@
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<example xml:id="xmlwriter-open-uri.example.basic">
|
||||
<title>Direct output of XML</title>
|
||||
<para>
|
||||
It is possible to directly output XML by using the
|
||||
<link linkend="wrappers.php.output">php://output stream wrapper</link>.
|
||||
</para>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$out =new XMLWriter();
|
||||
$out->openURI('php://output');
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
|
|
Loading…
Reference in a new issue