--TEST-- Log: Sqlite Handler --SKIPIF-- --FILE-- log($message, PEAR_LOG_WARNING); $q = "SELECT message FROM log_table WHERE ident='$ident'"; $res = sqlite_query($db, $q); if (sqlite_fetch_string($res) == $message) { echo 'ok'; } sqlite_close($db); if (file_exists($filename)) unlink($filename); --EXPECT-- ok