[DOC-CVS] [doc-en] master: ext/pdo, ext/pgsql: Add PHP 8.4.0 changelog entries for PGSQL and PDO pages (#5364)

[email protected] (Louis-Arnaud via GitHub) Thu, 23 Jul 2026 18:56:25 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-07-23T20:56:22+02:00

Commit: https://github.com/php/doc-en/commit/91183ddf1c54c6ce3051fdf0f5b9987272d51fbe
Raw diff: https://github.com/php/doc-en/commit/91183ddf1c54c6ce3051fdf0f5b9987272d51fbe.diff

ext/pdo, ext/pgsql: Add PHP 8.4.0 changelog entries for PGSQL and PDO pages (#5364)

Add missing 8.4.0 changelog entries to document:
- pg_fetch_result: 2-argument signature deprecated
- pg_field_prtlen: 2-argument signature deprecated
- pg_field_is_null: 2-argument signature deprecated
- PDO::getAttribute: ATTR_STRINGIFY_FETCHES now fetchable

Changed paths:
  M  reference/pdo/pdo/getattribute.xml
  M  reference/pgsql/functions/pg-fetch-result.xml
  M  reference/pgsql/functions/pg-field-is-null.xml
  M  reference/pgsql/functions/pg-field-prtlen.xml


Diff:

diff --git a/reference/pdo/pdo/getattribute.xml b/reference/pdo/pdo/getattribute.xml
index 370d61cb4808..eebbc93d3ae2 100644
--- a/reference/pdo/pdo/getattribute.xml
+++ b/reference/pdo/pdo/getattribute.xml
@@ -79,6 +79,29 @@
   </para>
  </refsect1>
 
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.4.0</entry>
+      <entry>
+       It is now possible to fetch the value of the
+       <constant>PDO::ATTR_STRINGIFY_FETCHES</constant> attribute.
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
diff --git a/reference/pgsql/functions/pg-fetch-result.xml b/reference/pgsql/functions/pg-fetch-result.xml
index 9aff3164124d..30a0ebb2b561 100644
--- a/reference/pgsql/functions/pg-fetch-result.xml
+++ b/reference/pgsql/functions/pg-fetch-result.xml
@@ -90,6 +90,17 @@
      </row>
     </thead>
     <tbody>
+     <row>
+      <entry>8.4.0</entry>
+      <entry>
+       The two argument signature of
+       <function>pg_fetch_result</function>
+       (<parameter>result</parameter>,
+       <parameter>field</parameter>) is now deprecated.
+       Use the three argument signature with
+       <parameter>row</parameter> set to &null; instead.
+      </entry>
+     </row>
      <row>
       <entry>8.3.0</entry>
       <entry>
diff --git a/reference/pgsql/functions/pg-field-is-null.xml b/reference/pgsql/functions/pg-field-is-null.xml
index 24bdc102e4a4..5e8932c21ed2 100644
--- a/reference/pgsql/functions/pg-field-is-null.xml
+++ b/reference/pgsql/functions/pg-field-is-null.xml
@@ -82,6 +82,17 @@
      </row>
     </thead>
     <tbody>
+     <row>
+      <entry>8.4.0</entry>
+      <entry>
+       The two argument signature of
+       <function>pg_field_is_null</function>
+       (<parameter>result</parameter>,
+       <parameter>field</parameter>) is now deprecated.
+       Use the three argument signature with
+       <parameter>row</parameter> set to &null; instead.
+      </entry>
+     </row>
      <row>
       <entry>8.3.0</entry>
       <entry>
diff --git a/reference/pgsql/functions/pg-field-prtlen.xml b/reference/pgsql/functions/pg-field-prtlen.xml
index f88d2a466466..bdcabd3bd8e6 100644
--- a/reference/pgsql/functions/pg-field-prtlen.xml
+++ b/reference/pgsql/functions/pg-field-prtlen.xml
@@ -83,6 +83,17 @@
      </row>
     </thead>
     <tbody>
+     <row>
+      <entry>8.4.0</entry>
+      <entry>
+       The two argument signature of
+       <function>pg_field_prtlen</function>
+       (<parameter>result</parameter>,
+       <parameter>field_name_or_number</parameter>) is now deprecated.
+       Use the three argument signature with
+       <parameter>row</parameter> set to &null; instead.
+      </entry>
+     </row>
      <row>
       <entry>8.3.0</entry>
       <entry>