Skip to content

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Nov 27, 2024

No description provided.

The only way for the do_operation object handler to be called for unary operations is when the zval is an object.
Therefore we know we have a zval of the correct type and there is no need to check for it.
The GMP class is now final, therefore we don't need to use the instanceof function.
@Girgias Girgias merged commit eaffa11 into php:master Nov 27, 2024
10 checks passed
@Girgias Girgias deleted the gmp-refactorings branch November 27, 2024 19:08
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