Php/docs/sqlite3.version

来自菜鸟教程
跳转至:导航、​搜索

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 ( ) : 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

<?phpprint_r(SQLite3::version());?>

以上例程的输出类似于:


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