From 6669426ab910ec3ebcfd1c778f3683f384bff43b Mon Sep 17 00:00:00 2001 From: Anatoly Pashin Date: Fri, 16 Oct 2020 19:06:11 +1000 Subject: [PATCH] [ci skip] Make it clear what GD uses instead of resources Closes GH-6342. --- UPGRADING | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/UPGRADING b/UPGRADING index e2e17e6239..a15feb826d 100644 --- a/UPGRADING +++ b/UPGRADING @@ -311,9 +311,10 @@ PHP 8.0 UPGRADE NOTES warning. - GD: - . 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. RFC: https://wiki.php.net/rfc/image2wbmp . The deprecated functions png2wbmp() and jpeg2wbmp() have been removed. -- 2.50.1