PHP » GoLang |
login |
register |
about
|
sqlite_popen(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0) sqlite_popen — Opens a persistent handle to an SQLite database and create the database if it does not exist Description
resource sqlite_popen
( string
$filename
[, int $mode = 0666
[, string &$error_message
]] )This function behaves identically to sqlite_open() except that is uses the persistent resource mechanism of PHP. For information about the meaning of the parameters, read the sqlite_open() manual page.
sqlite_popen() will first check to see if a persistent
handle has already been opened for the given
The benefit of this approach is that you don't incur the performance cost of re-reading the database and index schema on each page hit served by persistent web server SAPI's (any SAPI except for regular CGI or CLI).
Parameters
Return Values
Returns a resource (database handle) on success, See Also
|
more
Recently updated
more
Most requested
more
Last requests
|