-
-
Notifications
You must be signed in to change notification settings - Fork 148
[8.5] Add polyfill for FILTER_THROW_ON_FAILURE and exceptions #543
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
base: 1.x
Are you sure you want to change the base?
[8.5] Add polyfill for FILTER_THROW_ON_FAILURE and exceptions #543
Conversation
8.5 failure is
but probably not caused by me, since the test setup also died:
|
I'm not sure we should polyfill these: they're just sidekick of a main feature we cannot polyfill, so having a partial polyfill might be confusing. |
Static analysis might complain about the classes not existing? |
attributes are declarative so there's no real need of engine support to have them convey semantics, that's why they're fine |
Okay. I figured it wouldn't hurt to send this PR, it wasn't too much work if you decide you don't want to include it |
I also vote -1 on adding the polyfill for the |
We can remove the constant and just add the classes if there are no objections to the classes being included? |
See https://wiki.php.net/rfc/filter_throw_on_failure