Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions reference/filter/functions/filter-input.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,12 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<simpara>
On success returns the filtered variable.
If the variable is not set &false; is returned.
On failure &false; is returned,
unless the <constant>FILTER_NULL_ON_FAILURE</constant> flag is used,
in which case &null; is returned.
Value of the requested variable on success,
&false; if the filter fails,
or &null; if the <parameter>var_name</parameter> variable is not set.
If the flag <constant>FILTER_NULL_ON_FAILURE</constant> is used,
it returns &false; if the variable is not set
and &null; if the filter fails.
</simpara>
</refsect1>

Expand Down