PHP Conference China 2020


(PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)

sqlite_libversionReturns the version of the linked SQLite library


sqlite_libversion ( void ) : string

Returns the version of the linked SQLite library.

Return Values

Returns the library version, as a string.

See Also

add a note add a note

User Contributed Notes 1 note

jwzumwalt at neatinfo dot com
10 years ago
Simple Example

<span style="color:navy; font-size:larger;">Supported <i>PHP Data Object</i> (PDO) drivers.</span>
foreach(PDO::getAvailableDrivers() as $driver)
$driver.'<br />';

<span style="color:navy; font-size:larger;">SQLite version.</span>
   <?php echo sqlite_libversion(); ?>

<span style="color:navy; font-size:larger;">PHP version.</span>
   <?php echo phpversion(); ?>
To Top