mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
change the docs to conform to the current API
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@217023 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e4a5a7398c
commit
f290620ed2
1 changed files with 15 additions and 15 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<refentry id="function.input-get-args">
|
||||
<refnamediv>
|
||||
<refname>input_get_args</refname>
|
||||
|
@ -9,8 +9,8 @@
|
|||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>input_get_args</methodname>
|
||||
<methodparam><type>array</type><parameter>definition</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>type</parameter></methodparam>
|
||||
<methodparam><type>array</type><parameter>definition</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>array</type><parameter>data</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
&warn.experimental.func;
|
||||
|
@ -23,6 +23,17 @@
|
|||
&reftitle.parameters;
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One of <constant>INPUT_GET</constant>, <constant>INPUT_POST</constant>,
|
||||
<constant>INPUT_COOKIE</constant>, <constant>INPUT_SERVER</constant>,
|
||||
<constant>INPUT_ENV</constant>, <constant>INPUT_SESSION</constant>, or
|
||||
<constant>INPUT_DATA</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>definition</parameter></term>
|
||||
<listitem>
|
||||
|
@ -39,17 +50,6 @@
|
|||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>type</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
One of <constant>INPUT_GET</constant>, <constant>INPUT_POST</constant>,
|
||||
<constant>INPUT_COOKIE</constant>, <constant>INPUT_SERVER</constant>,
|
||||
<constant>INPUT_ENV</constant>, <constant>INPUT_SESSION</constant>, or
|
||||
<constant>INPUT_DATA</constant>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>data</parameter></term>
|
||||
<listitem>
|
||||
|
@ -106,8 +106,8 @@ $args = array(
|
|||
|
||||
);
|
||||
|
||||
//$myinputs = input_get_args($args, INPUT_POST);
|
||||
$myinputs = input_get_args($args, INPUT_DATA, $data);
|
||||
//$myinputs = input_get_args(INPUT_POST, $args);
|
||||
$myinputs = input_get_args(INPUT_DATA, $args, $data);
|
||||
|
||||
var_dump($myinputs);
|
||||
echo "\n";
|
||||
|
|
Loading…
Reference in a new issue