diff options
author | Anatoly Pashin <anatoly.pashin@gmail.com> | 2020-10-16 19:06:11 +1000 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2020-10-16 12:16:12 +0200 |
commit | 6669426ab910ec3ebcfd1c778f3683f384bff43b (patch) | |
tree | b7e8ff7da73d65550561a30cb3bdc2bd6f5f9ee0 /UPGRADING | |
parent | d6264b09665c20ee73d7a1017db0730f9a7c7973 (diff) | |
download | php-git-6669426ab910ec3ebcfd1c778f3683f384bff43b.tar.gz |
[ci skip] Make it clear what GD uses instead of resources
Closes GH-6342.
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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. |