[DOC-CVS] [doc-en] master: PHP 8.5 changelog entries for readline functions (#5594)
[email protected] (Jordi Kroon via GitHub) Mon, 8 Jun 2026 20:31:53 +0000
| Newsgroups | php.doc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: Jordi Kroon (jordikroon)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-06-08T22:31:46+02:00
Commit: https://github.com/php/doc-en/commit/be246a268d0d5ab0b215c429cb031e70c98327ef
Raw diff: https://github.com/php/doc-en/commit/be246a268d0d5ab0b215c429cb031e70c98327ef.diff
PHP 8.5 changelog entries for readline functions (#5594)
* add PHP 8.5 changelog entries for readline functions
Changed paths:
M language-snippets.ent
M reference/readline/functions/readline-add-history.xml
M reference/readline/functions/readline-callback-handler-install.xml
M reference/readline/functions/readline-clear-history.xml
Diff:
diff --git a/language-snippets.ent b/language-snippets.ent
index 8ac978a3e502..fbac1d5b12cb 100644
--- a/language-snippets.ent
+++ b/language-snippets.ent
@@ -859,6 +859,13 @@ searched for within the <link xmlns="http://docbook.org/ns/docbook" linkend="ini
</entry>
</row>'>
+<!ENTITY return.type.true.85 '<row xmlns="http://docbook.org/ns/docbook">
+ <entry>8.5.0</entry>
+ <entry>
+ The return type is &true; now; previously, it was <type>bool</type>.
+ </entry>
+</row>'>
+
<!ENTITY return.falseforfailure ' or &false; on failure'>
<!ENTITY return.falseforfailure.style.procedural '&style.procedural; returns &false; on failure.'>
diff --git a/reference/readline/functions/readline-add-history.xml b/reference/readline/functions/readline-add-history.xml
index f1fea0b64933..b3dbaab95234 100644
--- a/reference/readline/functions/readline-add-history.xml
+++ b/reference/readline/functions/readline-add-history.xml
@@ -37,6 +37,24 @@
&return.true.always;
</simpara>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &return.type.true.85;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
diff --git a/reference/readline/functions/readline-callback-handler-install.xml b/reference/readline/functions/readline-callback-handler-install.xml
index 24bb3f7dc346..2fa3d1e1d48b 100644
--- a/reference/readline/functions/readline-callback-handler-install.xml
+++ b/reference/readline/functions/readline-callback-handler-install.xml
@@ -57,6 +57,23 @@
</simpara>
</refsect1>
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &return.type.true.85;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
<refsect1 role="examples">
&reftitle.examples;
<example>
diff --git a/reference/readline/functions/readline-clear-history.xml b/reference/readline/functions/readline-clear-history.xml
index 41c7335f201d..f42caaffda11 100644
--- a/reference/readline/functions/readline-clear-history.xml
+++ b/reference/readline/functions/readline-clear-history.xml
@@ -28,6 +28,24 @@
&return.true.always;
</simpara>
</refsect1>
+
+ <refsect1 role="changelog">
+ &reftitle.changelog;
+ <informaltable>
+ <tgroup cols="2">
+ <thead>
+ <row>
+ <entry>&Version;</entry>
+ <entry>&Description;</entry>
+ </row>
+ </thead>
+ <tbody>
+ &return.type.true.85;
+ </tbody>
+ </tgroup>
+ </informaltable>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file
Local variables: