SQLite3
PHP 手册

SQLite3::version

(PHP 5 >= 5.3.0)

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

说明

public array SQLite3::version ( void )

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

参数

This function has no parameters.

返回值

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
)


SQLite3
PHP 手册