[DOC-CVS] [doc-en] master: pcntl_waitid(): add changelog section (#4949)

[email protected] (Juliette via GitHub)
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Juliette (jrfnl)
Committer: GitHub (web-flow)
Pusher: TimWolla
Date: 2025-10-26T16:01:04+01:00

Commit: https://github.com/php/doc-en/commit/4fbe0691312fbf85d67674f2e80c1abb5c36187f
Raw diff: https://github.com/php/doc-en/commit/4fbe0691312fbf85d67674f2e80c1abb5c36187f.diff

pcntl_waitid(): add changelog section (#4949)

Page: https://www.php.net/manual/en/function.pcntl-waitid.php

The PHP 8.5 new `$resource_usage` parameter was added to the docs in PR 3854, but no changelog section was added, giving the reader the impression that the parameter was part of the function signature since the function was introduced, which is not true.

Refs:
* php/php-src 15921

Co-authored-by: jrfnl <[email protected]>

Changed paths:
  M  reference/pcntl/functions/pcntl-waitid.xml


Diff:

diff --git a/reference/pcntl/functions/pcntl-waitid.xml b/reference/pcntl/functions/pcntl-waitid.xml
index d108a9012830..6a623bbc11f9 100644
--- a/reference/pcntl/functions/pcntl-waitid.xml
+++ b/reference/pcntl/functions/pcntl-waitid.xml
@@ -320,6 +320,28 @@
   </table>
  </refsect1>
 
+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.5.0</entry>
+      <entry>
+       <parameter>resource_usage</parameter> was added.
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
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.