Skip to content

Commit c3b9103

Browse files
committed
Use reasonable SQLite3 module version
Since PECL/sqlite3 has been moved to ext/sqlite3 in 2008, the SQLite3 module version is hardcoded to `0.7-dev`. It doesn't appear to make much sense to have an own module version for a bundled extensions, but as other code might rely on it, we don't remove the constant but rather make it an alias of the PHP version.
1 parent 9997767 commit c3b9103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/sqlite3/php_sqlite3.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#ifndef PHP_SQLITE3_H
2222
#define PHP_SQLITE3_H
2323

24-
#define PHP_SQLITE3_VERSION "0.7-dev"
24+
#define PHP_SQLITE3_VERSION PHP_VERSION
2525

2626
extern zend_module_entry sqlite3_module_entry;
2727
#define phpext_sqlite3_ptr &sqlite3_module_entry

0 commit comments

Comments
 (0)