SQLite3::open

SQLite3::open

(PHP 5 >= 5.3.0, PHP 7)

SQLite3::openOpens an SQLite database

Description

public void SQLite3::open ( string $filename [, int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE [, string $encryption_key = null ]] )

Opens an SQLite 3 Database. If the build includes encryption, then it will attempt to use the key.

Parameters

filename

Path to the SQLite database, or :memory: to use in-memory database.

登录查看完整内容