You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ext/filter: filter_var_array with FILTER_VALIDATE_INT|FILTER_NULL_ON_FAILURE for an entry flag does not validate. #16993
and this works as expected.
I suppose we could at least do with a warning like filter_var emits when having an invalid filter ID, such that users know they're using it "wrong".
Activity
ndossche commentedon Jul 19, 2025
I investigated this.
Correct usage seems to be:
and this works as expected.
I suppose we could at least do with a warning like
filter_varemits when having an invalid filter ID, such that users know they're using it "wrong".Girgias commentedon Jul 20, 2025
Yeah, I think this makes sense as it is quite confusing of a behaviour
Fix GH-16993: Fix filter_var_array to warn when validation filters ar…