Skip to content

Commit 8aad466

Browse files
marandallcmb69
authored andcommitted
Convert GD Resources to objects
1 parent c0a54f4 commit 8aad466

39 files changed

+758
-1228
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ PHP NEWS
1313
. Fixed bug #69044 (discrepency between time and microtime). (krakjoe)
1414

1515
- GD:
16+
. Replaced gd resources with objects. (Mark Randall)
1617
. Removed deprecated image2wbmp(). (cmb)
1718
. Removed deprecated png2wbmp() and jpeg2wbmp(). (cmb)
1819

UPGRADING

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,9 @@ PHP 8.0 UPGRADE NOTES
136136
warning.
137137

138138
- GD:
139+
. The GD extension now uses objects as the underlying data structure for
140+
images, rather than resources. These objects are completely opaque, i.e.
141+
they don't have any methods.
139142
. The deprecated function image2wbmp() has been removed.
140143
RFC: https://wiki.php.net/rfc/image2wbmp
141144
. The deprecated functions png2wbmp() and jpeg2wbmp() have been removed.

ext/gd/CREDITS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
GD imaging
2-
Rasmus Lerdorf, Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger
2+
Rasmus Lerdorf, Stig Bakken, Jim Winstead, Jouni Ahto, Ilia Alshanetsky, Pierre-Alain Joye, Marcus Boerger, Mark Randall

0 commit comments

Comments
 (0)