SQLite3::version

(PHP 5 >= 5.3.0, PHP 7)

SQLite3::version Returns the SQLite3 library version as a string constant and as a number

说明

public static SQLite3::version ( void ) : array

Returns the SQLite3 library version as a string constant and as a number.

参数

此函数没有参数。

返回值

Returns an associative array with the keys "versionString" and "versionNumber".

范例

Example #1 SQLite3::version() example

<?php
print_r
(SQLite3::version());
?>

以上例程的输出类似于:

Array
(
    [versionString] => 3.5.9
    [versionNumber] => 3005009
)

相关文章
php informix 函数 returns the number of columns in the queryphp 多字节字符串 函数 returns position and length of a matched part of the multibyte regular expression for a predefined multibyte stringphp postgresql 函数 returns the type id oid for the corresponding field numberphp sqlite 函数 returns the number of rows that were changed by the most recent sql statementphp sqlite 函数 returns the rowid of the most recently inserted rowphp sqlite 函数 returns the number of fields in a result setphp sqlite 函数 returns the number of rows in a buffered result setphp sqlite 函数 returns whether more rows are availablephp tidy 函数 returns the number of tidy accessibility warnings encountered for specified documentphp gearmanclient returns an error string for the last error encounteredphp mongodb driver writeresult returns the number of documents selected for updatephp mysqli stmt returns the number of parameter for the given statementphp mysqlnduhconnection returns the number of warnings from the last query for the given linkphp normalizer normalizes the input provided and returns the normalized stringphp solrquery returns the maximum number of query terms that will be included in any generated queryphp sqlite3 returns the number of database rows that were changed or inserted or deleted by the most recent sql statementphp sqlite3 returns a string that has been properly escapedphp sqlite3 returns the sqlite3 library version as a string constant and as a numberphp sqlite3result returns the number of columns in the result setphp sqlite3stmt returns the number of parameters within the prepared statement
关注编程学问公众号