Skip to content

Conversation

@devnexen
Copy link
Member

to be also more in line with other imageaffine* calls.

to be also more in line with other imageaffine* calls.
@devnexen devnexen marked this pull request as draft March 31, 2025 20:20
@devnexen devnexen marked this pull request as ready for review March 31, 2025 21:14
Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

I'd like to have a separate PR which adds more tests with different types in the array so that any change to the behaviour can be clearly seen.

Comment on lines 4145 to 4147
case IS_STRING:
x = zval_get_double(tmp);
break;
Copy link
Member

Choose a reason for hiding this comment

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

Won't this return 0 for garbage strings like "string" ? Obviously an improvement over the current situation, but still not amazing. Also this probably will fail for GMP objects which might be supported rn?

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.

2 participants