Skip to content
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

Update FILTER_NULL_ON_FAILURE usage #679

Merged
merged 4 commits into from
Jun 10, 2021
Merged

Conversation

realFlowControl
Copy link
Contributor

@realFlowControl realFlowControl commented Jun 10, 2021

Hey there 🖖

I found the following comment in the docs to be true https://www.php.net/manual/en/filter.filters.flags.php#125956
The FILTER_NULL_ON_FAILURE flag can not only be used with FILTER_VALIDATE_BOOL/FILTER_VALIDATE_BOOLEAN but also with other validating filters.

This PR updates the docs accordingly, see https://3v4l.org/raIiu

Kind regards

reference/filter/filters.xml Outdated Show resolved Hide resolved
@cmb69 cmb69 merged commit 35c2cd3 into php:master Jun 10, 2021
@realFlowControl realFlowControl deleted the patch-1 branch June 10, 2021 10: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