com php-src: [ci skip] Add note that imagedestroy() no longer has an effect: UPGRADING
| From: | Christoph Michael Becker | Date: | Sat, 14 Nov 2020 14:18:20 +0000 |
| Subject: | com php-src: [ci skip] Add note that imagedestroy() no longer has an effect: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-114143@lists.php.net to get a copy of this message | ||
Commit: 7bbed1808613aed5ac30c5c0edc2ce938489a072
Author: Pavel Djundik <xPaw@users.noreply.github.com> Sat, 14 Nov 2020 13:12:38
+0200
Committer: Christoph M. Becker <cmbecker69@gmx.de> Sat, 14 Nov 2020 15:18:20 +0100
Parents: f5be0e5110ff816d2ce168c154cb3575d08e3cad
Branches: PHP-8.0 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=7bbed1808613aed5ac30c5c0edc2ce938489a072
Log:
[ci skip] Add note that imagedestroy() no longer has an effect
Closes GH-6427.
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index 37cf35cb471..da4509e5c0e 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -314,7 +314,9 @@ PHP 8.0 UPGRADE NOTES
. The GD extension now uses a GdImage objects as the underlying data structure
for images, rather than resources. These objects are completely opaque, i.e.
they don't have any methods. Return value checks using is_resource() should
- be replaced with checks for
false.
+ be replaced with checks for false. The imagedestroy() function no longer
+ has an effect, instead the GdImage instance is automatically destroyed if
+ it is no longer referenced.
. The deprecated function image2wbmp() has been removed.
RFC: https://wiki.php.net/rfc/image2wbmp
. The deprecated functions png2wbmp() and jpeg2wbmp() have been removed.