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-- 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)