We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff7195c commit 9baabd2Copy full SHA for 9baabd2
src/PhpSpreadsheet/Worksheet/MemoryDrawing.php
@@ -65,7 +65,9 @@ public function __construct()
65
public function __destruct()
66
{
67
if ($this->imageResource) {
68
- @imagedestroy($this->imageResource);
+ if (\PHP_VERSION_ID < 80000) {
69
+ @imagedestroy($this->imageResource);
70
+ }
71
$this->imageResource = null;
72
}
73
$this->worksheet = null;
0 commit comments