- var_dump: documentation ( source)
<?php
// Create the table and insert the data
$db = new SQLite3('/tmp/Nao.db');
$db->query('CREATE TABLE ta10 (id INT(6))');
$db->query('INSERT INTO ta10 VALUES (123)');
// Your code
$db = new SQLite3('/tmp/Nao.db');
$result = $db->query('SELECT * FROM ta10');
var_dump($result->fetchArray());