[DOC-CVS] [doc-en] master: `gc-collect-cycles()`: add changelog for PHP 8.5 (#5528)

[email protected] (Daniel Scherzer via GitHub) Mon, 4 May 2026 19:54:57 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Daniel Scherzer (DanielEScherzer)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-05-04T21:54:54+02:00

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

`gc-collect-cycles()`: add changelog for PHP 8.5 (#5528)

Changed paths:
  M  reference/info/functions/gc-collect-cycles.xml


Diff:

diff --git a/reference/info/functions/gc-collect-cycles.xml b/reference/info/functions/gc-collect-cycles.xml
index c2e28125ce8f..b67e776feabb 100644
--- a/reference/info/functions/gc-collect-cycles.xml
+++ b/reference/info/functions/gc-collect-cycles.xml
@@ -38,29 +38,28 @@
  </refsect1>
  -->
 
- <!-- Use when a CHANGELOG exists
  <refsect1 role="changelog">
   &reftitle.changelog;
-  <para>
-   <informaltable>
-    <tgroup cols="2">
-     <thead>
-      <row>
-       <entry>&Version;</entry>
-       <entry>&Description;</entry>
-      </row>
-     </thead>
-     <tbody>
-      <row>
-       <entry>Enter the PHP version of change here</entry>
-       <entry>Description of change</entry>
-      </row>
-     </tbody>
-    </tgroup>
-   </informaltable>
-  </para>
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.5.0</entry>
+      <entry>
+       The return value no longer includes strings and resources that were
+       indirectly collected through cycles.
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
  </refsect1>
- -->
 
  <!-- Use when examples exist
  <refsect1 role="examples">