Commit f7e68a1
authored
Fix filter_input() return value documentation (#5381)
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 #43611 parent d7d6dd6 commit f7e68a1
1 file changed
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments