Skip to content

Commit a909aed

Browse files
author
Yoshinari Takaoka
committed
Integrate user note 117971, 79285
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@350609 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent 795604a commit a909aed

File tree

1 file changed

+29
-1
lines changed

1 file changed

+29
-1
lines changed

reference/xmlwriter/functions/xmlwriter-open-uri.xml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 60294d6f9208a28d66112876a4fc8f73952a6d16 Maintainer: takagi Status: ready -->
3+
<!-- EN-Revision: cf57aac89a03becf0764feac5ed0db71b431583c Maintainer: takagi Status: ready -->
44
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
55
<!-- Credits: mumumu -->
66
<refentry xml:id="function.xmlwriter-open-uri" xmlns="http://docbook.org/ns/docbook">
@@ -53,6 +53,34 @@
5353
</para>
5454
</refsect1>
5555

56+
<refsect1 role="examples">
57+
&reftitle.examples;
58+
<example xml:id="xmlwriter-open-uri.example.basic">
59+
<title>XML を直接出力する</title>
60+
<para>
61+
<link linkend="wrappers.php.output">php://output ストリームラッパー</link>
62+
を使えば、直接XMLを出力することが出来ます。
63+
</para>
64+
<programlisting role="php">
65+
<![CDATA[
66+
<?php
67+
$out =new XMLWriter();
68+
$out->openURI('php://output');
69+
?>
70+
]]>
71+
</programlisting>
72+
</example>
73+
</refsect1>
74+
75+
<refsect1 role="notes">
76+
&reftitle.notes;
77+
<note>
78+
<para>
79+
Windows では、この関数を使って開いたファイルは writer が解放されるまでロックされます。
80+
</para>
81+
</note>
82+
</refsect1>
83+
5684
<refsect1 role="seealso">
5785
&reftitle.seealso;
5886
<para>

0 commit comments

Comments
 (0)