<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.mysqli.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'mysqli.reap-async-query.php',
    1 => 'mysqli::reap_async_query',
    2 => 'Get result from async query',
  ),
  'up' => 
  array (
    0 => 'class.mysqli.php',
    1 => 'mysqli',
  ),
  'prev' => 
  array (
    0 => 'mysqli.real-query.php',
    1 => 'mysqli::real_query',
  ),
  'next' => 
  array (
    0 => 'mysqli.refresh.php',
    1 => 'mysqli::refresh',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mysqli/mysqli/reap-async-query.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="mysqli.reap-async-query" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">mysqli::reap_async_query</h1>
  <h1 class="refname">mysqli_reap_async_query</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.3.0, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">mysqli::reap_async_query</span> -- <span class="refname">mysqli_reap_async_query</span> &mdash; <span class="dc-title">Get result from async query</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-mysqli.reap-async-query-description">
  <h3 class="title">Descrizione</h3>
  <p class="para">Stile orientato agli oggetti</p>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>mysqli::reap_async_query</strong></span>(): <span class="type"><span class="type"><a href="class.mysqli-result.php" class="type mysqli_result">mysqli_result</a></span>|<span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></span></div>

  <p class="para rdfs-comment">Stile procedurale</p>
  <div class="methodsynopsis dc-description"><span class="methodname"><strong>mysqli_reap_async_query</strong></span>(<span class="methodparam"><span class="type"><a href="class.mysqli.php" class="type mysqli">mysqli</a></span> <code class="parameter">$mysql</code></span>): <span class="type"><span class="type"><a href="class.mysqli-result.php" class="type mysqli_result">mysqli_result</a></span>|<span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></span></div>

  <p class="para rdfs-comment">
   Get result from async query.
  </p>
  <blockquote class="note"><p><strong class="note">Nota</strong>: 
   <p class="para">
    Disponibile solo con <a href="book.mysqlnd.php" class="link">mysqlnd</a>.
   </p>
  </p></blockquote>
 </div>


 <div class="refsect1 parameters" id="refsect1-mysqli.reap-async-query-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">
   <dl>
    <dt><code class="parameter">
link</code></dt><dd><p class="para">Solo nello stile procedurale: un identificatore
restituito da <span class="function"><a href="function.mysqli-connect.php" class="function">mysqli_connect()</a></span> o <span class="function"><a href="mysqli.init.php" class="function">mysqli_init()</a></span>
</p></dd>
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-mysqli.reap-async-query-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on failure. For successful queries which produce a result set, such as <code class="literal">SELECT, SHOW, DESCRIBE</code> or
   <code class="literal">EXPLAIN</code>, <span class="function"><strong>mysqli_reap_async_query()</strong></span> will return
   a <span class="classname"><a href="class.mysqli-result.php" class="classname">mysqli_result</a></span> object. For other successful queries, <span class="function"><strong>mysqli_reap_async_query()</strong></span> will
   return <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong>.
  </p>
 </div>


 <div class="refsect1 errors" id="refsect1-mysqli.reap-async-query-errors">
  <h3 class="title">Errori/Eccezioni</h3>
  <p class="para">
If mysqli error reporting is enabled (<strong><code><a href="mysqli.constants.php#constant.mysqli-report-error">MYSQLI_REPORT_ERROR</a></code></strong>) and the requested operation fails,
a warning is generated. If, in addition, the mode is set to <strong><code><a href="mysqli.constants.php#constant.mysqli-report-strict">MYSQLI_REPORT_STRICT</a></code></strong>,
a <span class="classname"><a href="class.mysqli-sql-exception.php" class="classname">mysqli_sql_exception</a></span> is thrown instead.</p>
 </div>


 <div class="refsect1 seealso" id="refsect1-mysqli.reap-async-query-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="mysqli.poll.php" class="function" rel="rdfs-seeAlso">mysqli_poll()</a> - Poll connections</span></li>
   </ul>
  </p>
 </div>


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