mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Update possible return values (false vs null), info from Pierre
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217111 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
9514b66252
commit
a21c7cfaaa
3 changed files with 11 additions and 10 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
|
||||
<refentry id="function.filter-data">
|
||||
<refnamediv>
|
||||
|
@ -64,7 +64,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns filtered data or &null; if filter fails.
|
||||
Returns the filtered data, or &false; if the filter fails.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -85,7 +85,7 @@ var_dump(filter_data('example.com', FILTER_VALIDATE_URL, FILTER_FLAG_SCHEME_REQU
|
|||
<screen>
|
||||
<![CDATA[
|
||||
string(15) "bob@example.com"
|
||||
NULL
|
||||
bool(false)
|
||||
]]>
|
||||
</screen>
|
||||
</example>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<refentry id="function.input-get-args">
|
||||
<refnamediv>
|
||||
<refname>input_get_args</refname>
|
||||
|
@ -65,8 +65,9 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
An array containing the values of the requested variables on success, or
|
||||
&false; if an error occurred.
|
||||
An array containing the values of the requested variables on success, or &false;
|
||||
on failure. An array value will be &false; if the filter fails, or &null; if
|
||||
the variable is not set.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- $Revision: 1.3 $ -->
|
||||
<!-- Generated by xml_proto.php v2.4. Found in /scripts directory of phpdoc. -->
|
||||
<refentry id="function.input-get">
|
||||
<refnamediv>
|
||||
|
@ -75,9 +75,9 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Value of the requested variable on success or &false; if variable has not
|
||||
been found.
|
||||
</para>
|
||||
Value of the requested variable on success, &false; if the filter fails,
|
||||
or &null; if the <parameter>variable_name</parameter> variable is not set.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
|
|
Loading…
Reference in a new issue