Skip to content

Commit 7726a17

Browse files
authored
[Sync EN] Fix filter_input() return value documentation (#504)
Fixes #501
1 parent 74b0536 commit 7726a17

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

reference/filter/functions/filter-input.xml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 627f933cfe6a033dccac32982cd68e7c1b86927f Maintainer: Marqitos Status: ready -->
3+
<!-- EN-Revision: f7e68a1a35d622977d1a1c2155795204243ec3f1 Maintainer: Marqitos Status: ready -->
44
<!-- Reviewed: no -->
55
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
66
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude" xml:id="function.filter-input">
@@ -60,11 +60,12 @@
6060
<refsect1 role="returnvalues">
6161
&reftitle.returnvalues;
6262
<simpara>
63-
En caso de éxito devuelve la variable filtrada.
64-
Si la variable no está definida se devuelve &false;.
65-
En caso de fallo se devuelve &false;,
66-
a menos que se use el flag <constant>FILTER_NULL_ON_FAILURE</constant>,
67-
en cuyo caso se devuelve &null;.
63+
Valor de la variable solicitada en caso de éxito,
64+
&false; si el filtro falla,
65+
o &null; si la variable <parameter>var_name</parameter> no está definida.
66+
Si se usa el flag <constant>FILTER_NULL_ON_FAILURE</constant>,
67+
devuelve &false; si la variable no está definida
68+
y &null; si el filtro falla.
6869
</simpara>
6970
</refsect1>
7071

0 commit comments

Comments
 (0)