Skip to content

Simplify error type filter #6049

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
Closed

Simplify error type filter #6049

wants to merge 2 commits into from

Conversation

twose
Copy link
Member

@twose twose commented Aug 27, 2020

I'm a little curious that we have unwind_exit now, so could E_RECOVERABLE_ERROR be a real recoverable error? (without bailout)
If it couldn't, it maybe not worth the cost of keeping.

@nikic
Copy link
Member

nikic commented Sep 9, 2020

I'm a little curious that we have unwind_exit now, so could E_RECOVERABLE_ERROR be a real recoverable error? (without bailout)
If it couldn't, it maybe not worth the cost of keeping.

At this point nearly all E_RECOVERABLE_ERROR has been converted to Error exception. From a quick grep, it looks like there's only two left in php-src. Maybe we can eliminate them as well.

@php-pulls php-pulls closed this in bd1d11d Sep 10, 2020
@twose twose deleted the error_type branch September 10, 2020 09:39
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