title: What does mysqli_prepare() really do? Why should it be called by user and not handled internally by mysqlite3?
body: <p><a href="http://php.net/manual/en/mysqli.prepare.php" rel="nofollow noreferrer">Documents</a> really only mentions:</p>
  
  <blockquote>
    <p>mysqli::prepare -- mysqli_prepare — Prepare an SQL statement for execution</p>
  </blockquote>
  
  <p>I want to know what actually happens under the hood after calling <code>mysqli_prepare()</code> with a <code>sql</code> statement. </p>
  
  <p>Could anyone elaborate with that and also why couldn't it be skipped? Couldn't this be done internally in <code>mysqlite3</code>?</p>
  
  <p>A reference would be appreciated.</p>