mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
changed return-type to mixed
removed note about outcontrol added instructions how to return the result instead of printing it git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@138473 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3170573029
commit
268c48bbec
1 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/curl.xml, last change in rev 1.1 -->
|
||||
<refentry id="function.curl-exec">
|
||||
<refnamediv>
|
||||
|
@ -9,7 +9,7 @@
|
|||
<refsect1>
|
||||
<title>Description</title>
|
||||
<methodsynopsis>
|
||||
<type>bool</type><methodname>curl_exec</methodname>
|
||||
<type>mixed</type><methodname>curl_exec</methodname>
|
||||
<methodparam><type>resource</type><parameter>ch</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
|
@ -18,7 +18,13 @@
|
|||
is simply to execute the predefined CURL session (given by the
|
||||
<parameter>ch</parameter>).
|
||||
</para>
|
||||
&tip.ob-capture;
|
||||
<note>
|
||||
<para>
|
||||
If you want to have the result returned instead of it being printed to the
|
||||
browser directly, use the CURLOPT_RETURNTRANSFER option of
|
||||
<function>curl_setopt</function>.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
Loading…
Reference in a new issue