Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<SQLite3::setAuthorizerSQLite3Exception>
^SQLite3Last updated: Mon, 26 Oct 2026

SQLite3::version

(PHP 5 >= 5.3.0, PHP 7, PHP 8)

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

Description

public static function SQLite3::version(): array

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

Parameters

This function has no parameters.

Return Values

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

Examples

Example #1 SQLite3::version() example

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

The above example will output something similar to:

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


<SQLite3::setAuthorizerSQLite3Exception>
^SQLite3Last updated: Mon, 26 Oct 2026