Remove HAVE_SQLITE3_{CLOSE_V2,ERRSTR} by petk · Pull Request #18963 · php/php-src · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Remove HAVE_SQLITE3_{CLOSE_V2,ERRSTR} #18963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.