Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gd: do not use or unnecessary reference imagedestroy() #4396

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

pereorga
Copy link
Contributor

Because imagedestroy() is NOP in all supported PHP versions (as of 8.0.0), there is no need to reference it.

Copy link
Member

@kamil-tekiela kamil-tekiela left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I feel sorry for translators but this is a good change that we'd have to make sooner or later.

@kamil-tekiela kamil-tekiela merged commit 9960a09 into php:master Jan 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants