Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
  Fix GH-11492: Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt
This commit is contained in:
nielsdos 2023-06-22 20:51:11 +02:00
commit c44f79b7d5
2 changed files with 11 additions and 0 deletions

4
NEWS
View file

@ -5,6 +5,10 @@ PHP NEWS
- PCRE: - PCRE:
. Mangle PCRE regex cache key with JIT option. (mvorisek) . Mangle PCRE regex cache key with JIT option. (mvorisek)
- PDO SQLite:
. Fix GH-11492 (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).
(KapitanOczywisty, CViniciusSDias)
- Session: - Session:
. Removed broken url support for transferring session ID. (ilutov) . Removed broken url support for transferring session ID. (ilutov)

View file

@ -3,6 +3,13 @@ PDO SQLite Feature Request #42589 (getColumnMeta() should also return table name
--EXTENSIONS-- --EXTENSIONS--
pdo pdo
pdo_sqlite pdo_sqlite
--SKIPIF--
<?php
$db = new PDO("sqlite::memory:");
$options = $db->query('PRAGMA compile_options')->fetchAll(PDO::FETCH_COLUMN);
if(!in_array('ENABLE_COLUMN_METADATA', $options, true))
die("skip sqlite3 must be compiled with SQLITE_ENABLE_COLUMN_METADATA");
?>
--FILE-- --FILE--
<?php <?php
$db = new PDO("sqlite::memory:"); $db = new PDO("sqlite::memory:");