title: get_result return object
body: <p>Why get_result return object in this example? </p>
  
  <pre><code>function db_connect() {
      $db_host='localhost';
      $db_name='contact_manager';
      $db_user='root';
      $db_pass='';
  
      $connection = new mysqli($db_host, $db_user, $db_pass, $db_name);
      return $connection;
  } 
  
  $connection = db_connect();
  $query = $connection-&gt;prepare("SELECT * FROM users");
  $query-&gt;execute();
  $op = $query-&gt;get_result();
  var_dump($op);
  </code></pre>
  
  <hr>
  
  <p>this is the vardump:</p>
  
  <pre><code>object(mysqli_result)#3 (5) {
  ["current_field"]=&gt; int(0) 
  ["field_count"]=&gt; int(4) 
  ["lengths"]=&gt; NULL 
  ["num_rows"]=&gt; int(24) 
  ["type"]=&gt; int(0) } 
  </code></pre>