[php-src] master: Merge branch 'PHP-8.6'
| From: | ndossche | Date: | Sat, 07 Nov 2026 13:54:42 +0000 |
| Subject: | [php-src] master: Merge branch 'PHP-8.6' | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-143388@lists.php.net to get a copy of this message | ||
Author: ndossche (ndossche)
Date: 2026-11-07T14:54:30+01:00
Commit: https://github.com/php/php-src/commit/a95ff6a621fb6912610bc573447e66e9b7237eb2
Raw diff: https://github.com/php/php-src/commit/a95ff6a621fb6912610bc573447e66e9b7237eb2.diff
Merge branch 'PHP-8.6'
* PHP-8.6:
Improve GH-25021 test, use non-deprecated method (#25095)
Changed paths:
M ext/pdo_sqlite/tests/gh25021-udf.phpt
Diff:
diff --git a/ext/pdo_sqlite/tests/gh25021-udf.phpt b/ext/pdo_sqlite/tests/gh25021-udf.phpt
index ab7231c953b8..22858620b8ea 100644
--- a/ext/pdo_sqlite/tests/gh25021-udf.phpt
+++ b/ext/pdo_sqlite/tests/gh25021-udf.phpt
@@ -5,9 +5,9 @@ pdo_sqlite
--FILE--
<?php
-$conn = new PDO('sqlite::memory:');
+$conn = new Pdo\Sqlite('sqlite::memory:');
-$conn->sqliteCreateFunction('my_udf_pass_int', static fn(int $v): int => $v);
+$conn->createFunction('my_udf_pass_int', static fn(int $v): int => $v);
foreach ([
10,
@@ -23,7 +23,6 @@ foreach ([
}
?>
--EXPECTF--
-Deprecated: Method PDO::sqliteCreateFunction() is deprecated since 8.5, use
Pdo\Sqlite::createFunction() instead in %s on line %d
bool(true)
bool(true)
bool(true)