Replies: 1 comment 1 reply
-
Spanish documentation unfortunately doesn't state this, but imagedestroy doesn't have any effect since 8.0. All resources in modern PHP are freed when there are no more references to them. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, checking the GdDriver I don't see a function calling
imagedestroy
. I don't see neither a "destroy" function or something similar in Image class.Is PHP internally calling
imagedestroy()
when the reference to the instance of Image is lost during the gc cycle check?In the imagedestroy. page, the comments say that PHP clears the resource when the script ends.
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions