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

ImageGD: imagecreatetruecolor returns false on errors #43

Merged
merged 1 commit into from
Jun 25, 2021

Conversation

macbre
Copy link
Member

@macbre macbre commented Jun 25, 2021

https://www.php.net/manual/en/function.imagecreatetruecolor.php

Returns an image object on success, false on errors.

Version Description
8.0.0 On success, this function returns a GDImage instance now; previously, a resource was returned.

@macbre macbre enabled auto-merge June 25, 2021 10:09
@macbre macbre merged commit b29e85e into master Jun 25, 2021
@macbre macbre deleted the gd-is-resource-checks branch June 25, 2021 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant