Skip to content

add compatibility for tentative-return-type #8981

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

Closed
wants to merge 2 commits into from

Conversation

remicollet
Copy link
Member

@remicollet remicollet commented Jul 12, 2022

Following PR #8931 which introduces more compatibility stuff

This was introduced in 8.1.0, so needs conditional for older versions
Commonly encountered in various extensions for iterator methods.

Ex https://github.com/Imagick/imagick/blob/master/shim_php7_to_php8.h#L3-L6

It seems zend_test can be used to show what has changed.

Copy link
Member

@kocsismate kocsismate left a comment

Choose a reason for hiding this comment

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

Nice!

@remicollet
Copy link
Member Author

Squashed and merged as 6e24c16

@remicollet remicollet closed this Jul 12, 2022
@remicollet remicollet deleted the issue-tentative branch July 12, 2022 13:23
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