1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 03:03:26 +02:00

[ci skip] Add note that imagedestroy() no longer has an effect

Closes GH-6427.
This commit is contained in:
Pavel Djundik
2020-11-14 13:12:38 +02:00
committed by Christoph M. Becker
parent f5be0e5110
commit 7bbed18086
+3 -1
View File
@@ -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.