Skip to content

Commit ae490ed

Browse files
committed
Update curl-exec.xml Mention the direct output
php/doc-en@6c60e8e
1 parent fb69c45 commit ae490ed

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

reference/curl/functions/curl-exec.xml

Lines changed: 5 additions & 3 deletions
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: b7f8c11e56ff1c57a2993e2ed7e5c5ace18637fd Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 6c60e8e8fcd92bdaa469f7292b12179e841dfd39 Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: shimooka,mumumu -->
55
<refentry xml:id="function.curl-exec" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -35,9 +35,11 @@
3535
<refsect1 role="returnvalues">
3636
&reftitle.returnvalues;
3737
<para>
38-
&return.success; しかし、オプション <constant>CURLOPT_RETURNTRANSFER</constant>
38+
成功時には、この関数は結果を直接 <literal>stdout</literal>
39+
にフラッシュし、&true; を返します。&return.falseforfailure;
40+
しかし、オプション <constant>CURLOPT_RETURNTRANSFER</constant>
3941
が<link linkend="function.curl-setopt">設定</link>されていると、
40-
成功した場合に取得結果、失敗した場合に &false; を返します。
42+
成功した場合に取得結果を、失敗した場合に &false; を返します。
4143
</para>
4244
&return.falseproblem;
4345
<note>

0 commit comments

Comments
 (0)