title: php query on sqlite3 db only returns first row
body: <p>I created an Sqlite3 database with PHP:</p>
  
  <pre><code>$db = new SQLite3('mysqlitedb.db');
  $db-&gt;exec('CREATE TABLE foo (bar STRING)');
  $db-&gt;exec("INSERT INTO foo (bar) VALUES ('This is a test')");
  $db-&gt;exec("INSERT INTO foo (bar) VALUES ('This is another test')");
  </code></pre>
  
  <p>but when I try to get all the rows:</p>
  
  <pre><code>$result = $db-&gt;query('SELECT * FROM foo');
  var_dump($result-&gt;fetchArray());
  </code></pre>
  
  <p>it only returns the first row in the db:</p>
  
  <pre><code>array(2) { [0]=&gt; string(14) "This is a test" ["bar"]=&gt; string(14) "This is a test" }
  </code></pre>
  
  <p>I'm not sure why it isn't returning all the rows.</p>