title: Will closing a prepared statement delete it's result set?
body: <p>When I execute code that is like this:</p>
  
  <pre><code>$stmt = $connect-&gt;prepare('SELECT ...');
  $stmt-&gt;execute();
  $stmt-&gt;bind_result($result);
  $stmt-&gt;fetch();
  $stmt-&gt;close();
  return $result;
  </code></pre>
  
  <p>Will it return whatever was in result before the statement closed or NULL? Does closing the statement delete anything that was in the bound result?</p>