略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: sqlite_libversion

2024-05-10

sqlite_libversion

(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.

返回值

Returns the library version, as a string.

参见

add a note add a note

User Contributed Notes 1 note

up
-4
jwzumwalt at neatinfo dot com
8 years ago
Simple Example

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

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

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

官方地址:https://www.php.net/manual/en/function.sqlite-libversion.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3