Skip to content

Conversation

@cedric-anne
Copy link
Contributor

According to the documentation, since PHP 8.0:

imagecolorsforindex() now throws a ValueError exception if color is out of range; previously, false was returned instead.

Copy link
Collaborator

@silasjoisten silasjoisten left a comment

Choose a reason for hiding this comment

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

Amazing!

@silasjoisten silasjoisten merged commit a1426f8 into thecodingmachine:master May 14, 2025
10 checks passed
@cedric-anne cedric-anne deleted the fix/imagecolorsforindex branch May 14, 2025 06:05
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