[PECL-CVS] [pecl-database-pdo_oci] pdo_oci_param_bool_fix: Use FETCH_NUM in the test

[email protected] (Sharad Chandran R)
Newsgroups php.pecl.cvs
Message-ID <[email protected]>
Author: Sharad Chandran R (sharadraju)
Date: 2026-01-06T02:02:40+05:30

Commit: https://github.com/php/pecl-database-pdo_oci/commit/239e66b5bc78962426120023024321f2e7188514
Raw diff: https://github.com/php/pecl-database-pdo_oci/commit/239e66b5bc78962426120023024321f2e7188514.diff

Use FETCH_NUM in the test

Changed paths:
  M  tests/pdo_oci_insert_boolean.phpt


Diff:

diff --git a/tests/pdo_oci_insert_boolean.phpt b/tests/pdo_oci_insert_boolean.phpt
index e1dfe96..8adb716 100644
--- a/tests/pdo_oci_insert_boolean.phpt
+++ b/tests/pdo_oci_insert_boolean.phpt
@@ -40,7 +40,7 @@ $stmt->execute();
 
 // Fetch and dump
 $stmt = $db->query("SELECT id, bool_val FROM test_bool ORDER BY id");
-var_dump($stmt->fetchAll(PDO::FETCH_ASSOC));
+var_dump($stmt->fetchAll(PDO::FETCH_NUM));
 
 // Cleanup
 $db->exec("DROP TABLE test_bool");
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.