Skip to content

Allowing catching arg type deprecations in intl classes #8117

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 1 commit into from

Conversation

iluuu1994
Copy link
Member

Closes GH-8115

Doesn't affect PHP-8.0 since the "Passing null to parameter" deprecation was introduced in PHP 8.1.

It's somewhat sub-optimal that zend_replace_error_handling and zend_restore_error_handling are now called in different places but moving them into the given function was not trivially possible because the inner functions usually have multiple exit points.

@Girgias
Copy link
Member

Girgias commented Feb 19, 2022

Other than RuleBreakerIterator which I don't think needs the error handler to be replaced, the other ones are a bit more complicated than I anticipated as Intl's internal error mechanism is very whack.

Might make more sense to merge this and refactor for master.

@iluuu1994 iluuu1994 closed this in 925a309 Mar 3, 2022
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