[DOC-CVS] [doc-en] master: imagecopyresampled: Add missing 8.5.0 changelog entry for return type (#5291)

[email protected] (Louis-Arnaud via GitHub) Thu, 21 May 2026 18:32:16 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Louis-Arnaud (lacatoire)
Committer: GitHub (web-flow)
Pusher: jordikroon
Date: 2026-05-21T20:32:13+02:00

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

imagecopyresampled: Add missing 8.5.0 changelog entry for return type (#5291)

* Fix imagecopyresampled return type: bool -> true

Since PHP 8.2, imagecopyresampled() always returns true instead of bool.
Update methodsynopsis, return value description, and add changelog entry.

* Use explicit 8.5.0 changelog row (imagecopyresampled return type changed in 8.5)

Changed paths:
  M  reference/image/functions/imagecopyresampled.xml


Diff:

diff --git a/reference/image/functions/imagecopyresampled.xml b/reference/image/functions/imagecopyresampled.xml
index 9606983ad9ea..516e446d39d8 100644
--- a/reference/image/functions/imagecopyresampled.xml
+++ b/reference/image/functions/imagecopyresampled.xml
@@ -142,6 +142,12 @@
      </row>
     </thead>
     <tbody>
+     <row>
+      <entry>8.5.0</entry>
+      <entry>
+       The return type is &true; now; previously, it was <type>bool</type>.
+      </entry>
+     </row>
      <row>
       <entry>8.0.0</entry>
       <entry>