[php-src] Issue #24758: Bundled SQLite for Windows is missing math functions

From: Date: Mon, 26 Oct 2026 20:31:12 +0000
Subject: [php-src] Issue #24758: Bundled SQLite for Windows is missing math functions
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-253223@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/24758 Author: mvorisek ### Description The following code: ```php <?php $db = new PDO('sqlite::memory:'); $sth = $db->prepare('SELECT sqrt(null) foo'); $sth->execute(); $result = $sth->fetch(PDO::FETCH_ASSOC); var_dump($result); ``` Resulted in this output: ``` Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1 no such function: sqrt ``` But I expected this output instead: ``` array(1) { ["foo"]=> NULL } ``` download source: https://www.php.net/downloads.php?os=windows In older official PHP 7.4 download with SQLite 3.45.1 this was working. The new bundled version is 3.53.4. There needs to be some build regression. ### PHP Version ```plain PHP 8.5.12 (cli) (built: Oct 26 2026 09:51:07) (NTS Visual C++ 2022 x64) Copyright (c) The PHP Group Built by The PHP Group Zend Engine v4.5.12, Copyright (c) Zend Technologies with Zend OPcache v8.5.12, Copyright (c), by Zend Technologies ``` ### Operating System windows

« previous php.bugs (#253223) next »