<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.curl.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'function.curl-multi-getcontent.php',
    1 => 'curl_multi_getcontent',
    2 => 'Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set',
  ),
  'up' => 
  array (
    0 => 'ref.curl.php',
    1 => 'Функції cURL',
  ),
  'prev' => 
  array (
    0 => 'function.curl-multi-exec.php',
    1 => 'curl_multi_exec',
  ),
  'next' => 
  array (
    0 => 'function.curl-multi-info-read.php',
    1 => 'curl_multi_info_read',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/curl/functions/curl-multi-getcontent.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.curl-multi-getcontent" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">curl_multi_getcontent</h1>
  <p class="verinfo">(PHP 5, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">curl_multi_getcontent</span> &mdash; <span class="dc-title">Return the content of a cURL handle if <strong><code><a href="curl.constants.php#constant.curlopt-returntransfer">CURLOPT_RETURNTRANSFER</a></code></strong> is set</span></p>

 </div>
 
 <div class="refsect1 description" id="refsect1-function.curl-multi-getcontent-description">
  <h3 class="title">Опис</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>curl_multi_getcontent</strong></span>(<span class="methodparam"><span class="type"><a href="class.curlhandle.php" class="type CurlHandle">CurlHandle</a></span> <code class="parameter">$handle</code></span>): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span></div>

  <p class="para rdfs-comment">
   If <strong><code><a href="curl.constants.php#constant.curlopt-returntransfer">CURLOPT_RETURNTRANSFER</a></code></strong> is an option that is set for a specific handle, 
   then this function will return the content of that cURL handle in the form
   of a string.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.curl-multi-getcontent-parameters">
  <h3 class="title">Параметри</h3>
  <p class="para">
   <dl>
    <dt><code class="parameter">ch</code></dt>
<dd><p class="para">cURL-дескриптор, якого повертає
<span class="function"><a href="function.curl-init.php" class="function">curl_init()</a></span>.</p></dd>
   </dl>
  </p>
 </div>

 
 <div class="refsect1 returnvalues" id="refsect1-function.curl-multi-getcontent-returnvalues">
  <h3 class="title">Значення, що повертаються</h3>
  <p class="para">
   Return the content of a cURL handle if <strong><code><a href="curl.constants.php#constant.curlopt-returntransfer">CURLOPT_RETURNTRANSFER</a></code></strong> is set or <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong> if not set.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-function.curl-multi-getcontent-changelog">
  <h3 class="title">Журнал змін</h3>
  <table class="doctable informaltable">
   
    <thead>
     <tr>
      <th>Версія</th>
      <th>Опис</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
 <td>8.0.0</td>
 <td>
  <code class="parameter">handle</code> тепер має бути примірником класу
  <span class="classname"><a href="class.curlhandle.php" class="classname">CurlHandle</a></span>; раніше очікувався <span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span>.
 </td>
</tr>

    </tbody>
   
  </table>

 </div>


 <div class="refsect1 seealso" id="refsect1-function.curl-multi-getcontent-seealso">
  <h3 class="title">Прогляньте також</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.curl-multi-init.php" class="function" rel="rdfs-seeAlso">curl_multi_init()</a> - Returns a new cURL multi handle</span></li>
   </ul>
  </p>
 </div>

 
</div><?php manual_footer($setup); ?>