[8.5] Add polyfill for FILTER_THROW_ON_FAILURE and exceptions#543
[8.5] Add polyfill for FILTER_THROW_ON_FAILURE and exceptions#543DanielEScherzer wants to merge 1 commit into
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? |
|
Let's add only the classes, works for me. |
|
Let me close as is for history. PR welcome for the classes only, if that can be useful. |
See https://wiki.php.net/rfc/filter_throw_on_failure