pFad - Phone/Frame/Anonymizer/Declutterfier! Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

URL: http://github.com/php/doc-en/pull/5381

om/assets/global-52276e82f63bb403.css" /> Fix filter_input() return value documentation by lacatoire · Pull Request #5381 · php/doc-en · GitHub
Skip to content

Fix filter_input() return value documentation#5381

Open
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/issue-4361-filter-input-return-values
Open

Fix filter_input() return value documentation#5381
lacatoire wants to merge 1 commit intophp:masterfrom
lacatoire:fix/issue-4361-filter-input-return-values

Conversation

@lacatoire
Copy link
Member

@lacatoire lacatoire commented Feb 18, 2026

Fixes #4361

filter_input() returns null when the variable is not set, not false. Also clarifies the FILTER_NULL_ON_FAILURE inverted behavior.

Happy to adjust if needed.

filter_input() returns null (not false) when the variable is not set.
Also clarify the FILTER_NULL_ON_FAILURE behavior which inverts the
return values: false when not set, null on filter failure.

Fixes php#4361
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.

Documentation of filter_input -> return values looks incorrect

1 participant

pFad - Phonifier reborn

Pfad - The Proxy pFad © 2024 Your Company Name. All rights reserved.





Check this box to remove all script contents from the fetched content.



Check this box to remove all images from the fetched content.


Check this box to remove all CSS styles from the fetched content.


Check this box to keep images inefficiently compressed and original size.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy