Commit 6669426ab9 for php.net
Author: Anatoly Pashin <firstname.lastname@example.org>
Date: Fri Oct 16 19:06:11 2020 +1000
[ci skip] Make it clear what GD uses instead of resources
diff --git a/UPGRADING b/UPGRADING
index e2e17e6239..a15feb826d 100644
@@ -311,9 +311,10 @@ PHP 8.0 UPGRADE NOTES
- . The GD extension now uses objects as the underlying data structure for
- images, rather than resources. These objects are completely opaque, i.e.
- they don't have any methods.
+ . 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`.
. The deprecated function image2wbmp() has been removed.
. The deprecated functions png2wbmp() and jpeg2wbmp() have been removed.