Skip to content

Conversation

@petk
Copy link
Member

@petk petk commented Jun 27, 2025

It would be kind of good to follow up on these minimum version bumps and clean the code on the way. I should recheck this a bit if everything is fine but these could be probably changed...

As of PHP 8.5 the minimum required SQLite library is 3.7.17, and this removes the following preprocessor macros checks:

  • HAVE_SQLITE3_CLOSE_V2 (sqlite3_close_v2() function is available since SQLite 3.7.14.)
  • HAVE_SQLITE3_ERRSTR (sqlite3_errstr() function is available since SQLite 3.7.15)
  • SQLITE_VERSION_NUMBER should be now always greater than 3006011 (3.6.11).

Otherwise, tests fail when using SQLite 3.7.17 due to unconditional usage of SQLITE_DETERMINISTIC and similar... but this is for now not important.

As of PHP 8.5 the minimum required SQLite library is 3.7.17, and this
removes the following preprocessor macros checks:

- HAVE_SQLITE3_CLOSE_V2 (sqlite3_close_v2() function is available since
  SQLite 3.7.14.)
- HAVE_SQLITE3_ERRSTR (sqlite3_errstr() function is available since
  SQLite 3.7.15)
- SQLITE_VERSION_NUMBER should be now always greater than 3006011
  (3.6.11).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant