Proper variadics instead of pseudo variadics

We markup variadic parameters with the `rep=repeat` standard DocBook
attribute of `<methodparam>`, and use proper variable names instead of
using the old pseudo variable name `...`.


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351129 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Christoph Michael Becker 2020-11-02 11:17:26 +00:00
parent ecb5cb1e02
commit 9e0f03ac35
104 changed files with 378 additions and 441 deletions

View file

@ -7,8 +7,7 @@
<title>Constructor</title>
<methodsynopsis xml:id="object.construct">
<type>void</type><methodname>__construct</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>args</parameter><initializer>""</initializer></methodparam>
<methodparam choice="opt"><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter><initializer>""</initializer></methodparam>
</methodsynopsis>
<para>
PHP 5 allows developers to declare constructor methods for classes.

View file

@ -299,7 +299,7 @@ Hello
<title><link linkend="object.invoke">__invoke()</link></title>
<methodsynopsis xml:id="object.invoke">
<type>mixed</type><methodname>__invoke</methodname>
<methodparam choice="opt"><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
The <link linkend="object.invoke">__invoke()</link> method is called when a script tries to

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>mixed</type><methodname>Closure::call</methodname>
<methodparam><type>object</type><parameter>newthis</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Temporarily binds the closure to <parameter>newthis</parameter>, and calls
@ -31,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
Zero or more parameters, which will be given as parameters to the

View file

@ -116,10 +116,6 @@
</itemizedlist>
<para>
And the pseudo-variable <parameter>$...</parameter>.
</para>
<simpara>
Some references to the type "double" may remain in the manual. Consider
double the same as float; the two names exist only for historic reasons.

View file

@ -32,16 +32,6 @@
</sect2>
<sect2 xml:id="language.types.dotdotdot">
<title>...</title>
<para>
<parameter>$...</parameter> in function prototypes means
<literal>and so on</literal>. This variable name is used when a function can
take an endless number of arguments.
</para>
</sect2>
</sect1>
<!-- Keep this comment at the end of the file

View file

@ -10,12 +10,11 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_diff_assoc</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
<para>
Compares <parameter>array1</parameter> against <parameter>array2</parameter> and
Compares <parameter>array</parameter> against <parameter>arrays</parameter> and
returns the difference. Unlike <function>array_diff</function> the array
keys are also used in the comparison.
</para>
@ -27,7 +26,7 @@
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array to compare from
@ -36,19 +35,10 @@
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
An array to compare against
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
More arrays to compare against
Arrays to compare against
</para>
</listitem>
</varlistentry>
@ -61,7 +51,7 @@
&reftitle.returnvalues;
<para>
Returns an <type>array</type> containing all the values from
<parameter>array1</parameter> that are not present in any of the other arrays.
<parameter>array</parameter> that are not present in any of the other arrays.
</para>
</refsect1>

View file

@ -10,13 +10,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_diff_key</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
<para>
Compares the keys from <parameter>array1</parameter> against the keys
from <parameter>array2</parameter> and returns the difference.
Compares the keys from <parameter>array</parameter> against the keys
from <parameter>arrays</parameter> and returns the difference.
This function is like <function>array_diff</function> except the
comparison is done on the keys instead of the values.
</para>
@ -28,7 +27,7 @@
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array to compare from
@ -37,19 +36,10 @@
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
An array to compare against
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
More arrays to compare against
Arrays to compare against
</para>
</listitem>
</varlistentry>
@ -62,7 +52,7 @@
&reftitle.returnvalues;
<para>
Returns an <type>array</type> containing all the entries from
<parameter>array1</parameter> whose keys are absent from all of the
<parameter>array</parameter> whose keys are absent from all of the
other arrays.
</para>
</refsect1>

View file

@ -10,13 +10,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_diff_uassoc</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>key_compare_func</parameter></methodparam>
</methodsynopsis>
<para>
Compares <parameter>array1</parameter> against <parameter>array2</parameter> and
Compares <parameter>array</parameter> against <parameter>arrays</parameter> and
returns the difference. Unlike <function>array_diff</function> the array
keys are used in the comparison.
</para>
@ -32,7 +31,7 @@
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array to compare from
@ -41,19 +40,10 @@
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
An array to compare against
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
More arrays to compare against
Arrays to compare against
</para>
</listitem>
</varlistentry>
@ -76,7 +66,7 @@
&reftitle.returnvalues;
<para>
Returns an <type>array</type> containing all the entries from
<parameter>array1</parameter> that are not present in any of the other arrays.
<parameter>array</parameter> that are not present in any of the other arrays.
</para>
</refsect1>

View file

@ -10,14 +10,13 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_diff_ukey</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>key_compare_func</parameter></methodparam>
</methodsynopsis>
<para>
Compares the keys from <parameter>array1</parameter> against the keys
from <parameter>array2</parameter> and returns the difference.
Compares the keys from <parameter>array</parameter> against the keys
from <parameter>arrays</parameter> and returns the difference.
This function is like <function>array_diff</function> except the
comparison is done on the keys instead of the values.
</para>
@ -33,7 +32,7 @@
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array to compare from
@ -42,19 +41,10 @@
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
An array to compare against
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
More arrays to compare against
Arrays to compare against
</para>
</listitem>
</varlistentry>
@ -77,7 +67,7 @@
&reftitle.returnvalues;
<para>
Returns an <type>array</type> containing all the entries from
<parameter>array1</parameter> that are not present in any of the other arrays.
<parameter>array</parameter> that are not present in any of the other arrays.
</para>
</refsect1>

View file

@ -10,13 +10,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_diff</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
<para>
Compares <parameter>array1</parameter> against one or more other arrays and
returns the values in <parameter>array1</parameter> that are not present in
Compares <parameter>array</parameter> against one or more other arrays and
returns the values in <parameter>array</parameter> that are not present in
any of the other arrays.
</para>
</refsect1>
@ -26,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array to compare from
@ -34,18 +33,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
An array to compare against
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
More arrays to compare against
Arrays to compare against
</para>
</listitem>
</varlistentry>
@ -57,8 +48,8 @@
&reftitle.returnvalues;
<para>
Returns an <type>array</type> containing all the entries from
<parameter>array1</parameter> that are not present in any of the other arrays.
Keys in the <parameter>array1</parameter> array are preserved.
<parameter>array</parameter> that are not present in any of the other arrays.
Keys in the <parameter>array</parameter> array are preserved.
</para>
</refsect1>

View file

@ -10,13 +10,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_intersect_assoc</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
<simpara>
<function>array_intersect_assoc</function> returns an array
containing all the values of <parameter>array1</parameter>
containing all the values of <parameter>array</parameter>
that are present in all the arguments. Note that the keys are also used in
the comparison unlike in <function>array_intersect</function>.
</simpara>
@ -27,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array with master values to check.
@ -35,18 +34,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
An array to compare values against.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
A variable list of arrays to compare.
Arrays to compare values against.
</para>
</listitem>
</varlistentry>
@ -58,7 +49,7 @@
&reftitle.returnvalues;
<para>
Returns an associative array containing all the values in
<parameter>array1</parameter> that are present in all of the arguments.
<parameter>array</parameter> that are present in all of the arguments.
</para>
</refsect1>

View file

@ -10,13 +10,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_intersect_key</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_intersect_key</function> returns an array
containing all the entries of <parameter>array1</parameter>
containing all the entries of <parameter>array</parameter>
which have keys that are present in all the arguments.
</para>
</refsect1>
@ -26,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array with master keys to check.
@ -34,18 +33,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
An array to compare keys against.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
A variable list of arrays to compare.
Arrays to compare keys against.
</para>
</listitem>
</varlistentry>
@ -57,7 +48,7 @@
&reftitle.returnvalues;
<para>
Returns an associative array containing all the entries of
<parameter>array1</parameter> which have keys that are present in all
<parameter>array</parameter> which have keys that are present in all
arguments.
</para>
</refsect1>
@ -96,7 +87,7 @@ array(2) {
returned. Also notice that the values for the keys
<literal>'blue'</literal> and <literal>'green'</literal> differ between
the two arrays. A match still occurs because only the keys are checked.
The values returned are those of <parameter>array1</parameter>.
The values returned are those of <parameter>array</parameter>.
</para>
<para>
The two keys from the <literal>key =&gt; value</literal> pairs are

View file

@ -10,14 +10,13 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_intersect_uassoc</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>key_compare_func</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_intersect_uassoc</function> returns an array
containing all the values of <parameter>array1</parameter>
containing all the values of <parameter>array</parameter>
that are present in all the arguments. Note that the keys are used in
the comparison unlike in <function>array_intersect</function>.
</para>
@ -28,7 +27,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
Initial array for comparison of the arrays.
@ -36,18 +35,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
First array to compare keys against.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
Variable list of array arguments to compare values against.
Arrays to compare keys against.
</para>
</listitem>
</varlistentry>
@ -67,7 +58,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the values of <parameter>array1</parameter> whose values exist
Returns the values of <parameter>array</parameter> whose values exist
in all of the arguments.
</para>
</refsect1>

View file

@ -9,14 +9,13 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_intersect_ukey</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>key_compare_func</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_intersect_ukey</function> returns an array
containing all the values of <parameter>array1</parameter>
containing all the values of <parameter>array</parameter>
which have matching keys that are present in all the arguments.
</para>
</refsect1>
@ -26,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
Initial array for comparison of the arrays.
@ -34,18 +33,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
First array to compare keys against.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
Variable list of array arguments to compare keys against.
Arrays to compare keys against.
</para>
</listitem>
</varlistentry>
@ -65,7 +56,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns the values of <parameter>array1</parameter> whose keys exist
Returns the values of <parameter>array</parameter> whose keys exist
in all the arguments.
</para>
</refsect1>
@ -114,7 +105,7 @@ array(2) {
returned. Also notice that the values for the keys
<literal>'blue'</literal> and <literal>'green'</literal> differ between
the two arrays. A match still occurs because only the keys are checked.
The values returned are those of <parameter>array1</parameter>.
The values returned are those of <parameter>array</parameter>.
</para>
</refsect1>

View file

@ -10,13 +10,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_intersect</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_intersect</function> returns an array
containing all the values of <parameter>array1</parameter>
containing all the values of <parameter>array</parameter>
that are present in all the arguments.
Note that keys are preserved.
</para>
@ -27,7 +26,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array with master values to check.
@ -35,18 +34,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
An array to compare values against.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<listitem>
<para>
A variable list of arrays to compare.
Arrays to compare values against.
</para>
</listitem>
</varlistentry>
@ -58,7 +49,7 @@
&reftitle.returnvalues;
<para>
Returns an array containing all of the values in
<parameter>array1</parameter> whose values exist in all of the parameters.
<parameter>array</parameter> whose values exist in all of the parameters.
</para>
</refsect1>

View file

@ -11,14 +11,14 @@
<methodsynopsis>
<type>array</type><methodname>array_map</methodname>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_map</function> returns an &array; containing
the results of applying the <parameter>callback</parameter>
to the corresponding index of <parameter>array1</parameter>
(and <parameter>...</parameter> if more arrays are provided)
to the corresponding index of <parameter>array</parameter>
(and <parameter>arrays</parameter> if more arrays are provided)
used as arguments for the callback.
The number of parameters that the <parameter>callback</parameter>
function accepts should match the number of arrays
@ -39,13 +39,13 @@
<para>
&null; can be passed as a value to <parameter>callback</parameter>
to perform a zip operation on multiple arrays.
If only <parameter>array1</parameter> is provided,
If only <parameter>array</parameter> is provided,
<methodname>array_map</methodname> will return the input array.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
An array to run through the <parameter>callback</parameter> function.
@ -53,7 +53,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
Supplementary variable list of array arguments to run through the
@ -69,8 +69,8 @@
&reftitle.returnvalues;
<para>
Returns an array containing the results of applying the <parameter>callback</parameter>
function to the corresponding index of <parameter>array1</parameter>
(and <parameter>...</parameter> if more arrays are provided)
function to the corresponding index of <parameter>array</parameter>
(and <parameter>arrays</parameter> if more arrays are provided)
used as arguments for the callback.
</para>
<para>
@ -294,7 +294,7 @@ Array
<example>
<title>
&null; <parameter>callback</parameter> with only
<parameter>array1</parameter>
<parameter>array</parameter>
</title>
<programlisting role="php">
<![CDATA[

View file

@ -10,7 +10,7 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_merge_recursive</methodname>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_merge_recursive</function> merges the elements of
@ -32,7 +32,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
Variable list of arrays to recursively merge.

View file

@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_merge</methodname>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
</methodsynopsis>
<para>
Merges the elements of one or more arrays together so that the values of
@ -33,7 +33,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
Variable list of arrays to merge.

View file

@ -12,7 +12,7 @@
<methodparam><type>array</type><parameter role="reference">array1</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>array1_sort_order</parameter><initializer>SORT_ASC</initializer></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>array1_sort_flags</parameter><initializer>SORT_REGULAR</initializer></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>rest</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_multisort</function> can be used to sort several
@ -101,7 +101,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>rest</parameter></term>
<listitem>
<para>
More arrays, optionally followed by sort order and flags. Only elements

View file

@ -10,7 +10,7 @@
<methodsynopsis>
<type>int</type><methodname>array_push</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_push</function> treats <parameter>array</parameter> as a
@ -54,7 +54,7 @@ $array[] = $var;
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
The values to push onto the end of the <parameter>array</parameter>.

View file

@ -9,12 +9,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_replace_recursive</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>replacements</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_replace_recursive</function> replaces the values of
<parameter>array1</parameter> with the same values from all the following
<parameter>array</parameter> with the same values from all the following
arrays. If a key from the first array exists in the second array, its value
will be replaced by the value from the second array. If the key exists in the
second array, and not the first, it will be created in the first array.
@ -39,7 +39,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array in which elements are replaced.
@ -47,10 +47,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>replacements</parameter></term>
<listitem>
<para>
Optional. Arrays from which elements will be extracted.
Arrays from which elements will be extracted.
</para>
</listitem>
</varlistentry>

View file

@ -9,12 +9,12 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_replace</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>replacements</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_replace</function> replaces the values of
<parameter>array1</parameter> with values having the same keys in each of the following
<parameter>array</parameter> with values having the same keys in each of the following
arrays. If a key from the first array exists in the second array, its value
will be replaced by the value from the second array. If the key exists in the
second array, and not the first, it will be created in the first array.
@ -32,7 +32,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The array in which elements are replaced.
@ -40,7 +40,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>replacements</parameter></term>
<listitem>
<para>
Arrays from which elements will be extracted.

View file

@ -9,9 +9,8 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_udiff_assoc</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>value_compare_func</parameter></methodparam>
</methodsynopsis>
<para>
@ -31,7 +30,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The first array.
@ -39,10 +38,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
The second array.
Arrays to compare against.
</para>
</listitem>
</varlistentry>
@ -62,7 +61,7 @@
&reftitle.returnvalues;
<para>
<function>array_udiff_assoc</function> returns an <type>array</type>
containing all the values from <parameter>array1</parameter>
containing all the values from <parameter>array</parameter>
that are not present in any of the other arguments.
Note that the keys are used in the comparison unlike
<function>array_diff</function> and <function>array_udiff</function>.

View file

@ -9,9 +9,8 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_udiff_uassoc</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>value_compare_func</parameter></methodparam>
<methodparam><type>callable</type><parameter>key_compare_func</parameter></methodparam>
</methodsynopsis>
@ -29,7 +28,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The first array.
@ -37,10 +36,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
The second array.
Arrays to compare against.
</para>
</listitem>
</varlistentry>
@ -71,7 +70,7 @@
&reftitle.returnvalues;
<para>
Returns an <type>array</type> containing all the values from
<parameter>array1</parameter> that are not present in any of the other
<parameter>array</parameter> that are not present in any of the other
arguments.
</para>
</refsect1>

View file

@ -9,9 +9,8 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_udiff</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>value_compare_func</parameter></methodparam>
</methodsynopsis>
<para>
@ -25,7 +24,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The first array.
@ -33,10 +32,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
The second array.
Arrays to compare against.
</para>
</listitem>
</varlistentry>
@ -58,7 +57,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an array containing all the values of <parameter>array1</parameter>
Returns an array containing all the values of <parameter>array</parameter>
that are not present in any of the other arguments.
</para>
</refsect1>

View file

@ -9,9 +9,8 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_uintersect_assoc</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>value_compare_func</parameter></methodparam>
</methodsynopsis>
<para>
@ -29,7 +28,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The first array.
@ -37,10 +36,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
The second array.
Arrays to compare against.
</para>
</listitem>
</varlistentry>
@ -60,7 +59,7 @@
&reftitle.returnvalues;
<para>
Returns an array containing all the values of
<parameter>array1</parameter> that are present in all the arguments.
<parameter>array</parameter> that are present in all the arguments.
</para>
</refsect1>
<refsect1 role="examples">

View file

@ -10,8 +10,7 @@
<methodsynopsis>
<type>array</type><methodname>array_uintersect_uassoc</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>value_compare_func</parameter></methodparam>
<methodparam><type>callable</type><parameter>key_compare_func</parameter></methodparam>
</methodsynopsis>
@ -33,10 +32,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
The second array.
Further arrays.
</para>
</listitem>
</varlistentry>

View file

@ -9,9 +9,8 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array_uintersect</methodname>
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam><type>array</type><parameter>array</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
<methodparam><type>callable</type><parameter>value_compare_func</parameter></methodparam>
</methodsynopsis>
<para>
@ -23,7 +22,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>array1</parameter></term>
<term><parameter>array</parameter></term>
<listitem>
<para>
The first array.
@ -31,10 +30,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>array2</parameter></term>
<term><parameter>arrays</parameter></term>
<listitem>
<para>
The second array.
Arrays to compare against.
</para>
</listitem>
</varlistentry>
@ -53,7 +52,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
Returns an array containing all the values of <parameter>array1</parameter>
Returns an array containing all the values of <parameter>array</parameter>
that are present in all the arguments.
</para>
</refsect1>

View file

@ -10,7 +10,7 @@
<methodsynopsis>
<type>int</type><methodname>array_unshift</methodname>
<methodparam><type>array</type><parameter role="reference">array</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
<function>array_unshift</function> prepends passed elements to the front
@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
The values to prepend.

View file

@ -9,7 +9,7 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>array</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Creates an array. Read the section on the
@ -22,7 +22,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
Syntax "index =&gt; values", separated by commas, define index

View file

@ -9,8 +9,8 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>compact</methodname>
<methodparam><type>mixed</type><parameter>varname1</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam><type>mixed</type><parameter>var_name</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>var_names</parameter></methodparam>
</methodsynopsis>
<para>
Creates an array containing variables and their values.
@ -33,7 +33,8 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>varname1</parameter></term>
<term><parameter>var_name</parameter></term>
<term><parameter>var_names</parameter></term>
<listitem>
<para>
<function>compact</function> takes a variable number of parameters.

View file

@ -9,8 +9,8 @@
&reftitle.description;
<methodsynopsis>
<type>array</type><methodname>list</methodname>
<methodparam><type>mixed</type><parameter>var1</parameter></methodparam>
<methodparam rep="repeat" choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
<methodparam rep="repeat" choice="opt"><type>mixed</type><parameter>vars</parameter></methodparam>
</methodsynopsis>
<para>
Like <function>array</function>, this is not really a function,
@ -47,7 +47,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>var1</parameter></term>
<term><parameter>var</parameter></term>
<listitem>
<para>
A variable.
@ -55,6 +55,16 @@
</listitem>
</varlistentry>
</variablelist>
<variablelist>
<varlistentry>
<term><parameter>vars</parameter></term>
<listitem>
<para>
Further variables.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 role="returnvalues">

View file

@ -12,7 +12,7 @@
<methodparam><type>string</type><parameter>path</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>handler</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_open</function> establishes a database instance for
@ -161,7 +161,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
Optional &string; parameters which are passed to the driver.

View file

@ -12,7 +12,7 @@
<methodparam><type>string</type><parameter>path</parameter></methodparam>
<methodparam><type>string</type><parameter>mode</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>handler</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
<function>dba_popen</function> establishes a persistent database instance
@ -54,6 +54,33 @@
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>args</parameter></term>
<listitem>
<para>
Optional &string; parameters which are passed to the driver.
</para>
<para>
The <literal>cdb</literal>, <literal>cdb_make</literal>, <literal>flatfile</literal>,
<literal>inifile</literal>, <literal>qdbm</literal> and <literal>tcadb</literal> drivers
do not support additional parameters.
</para>
<para>
The <literal>db1</literal>, <literal>db2</literal>, <literal>db3</literal>,
<literal>db4</literal>, <literal>dbm</literal>, <literal>gdbm</literal>,
and <literal>ndbm</literal> drivers supports a single additional parameter <literal>$filemode</literal>,
which has the same meaning as the <literal>$mode</literal> parameter of <function>chmod</function>,
and defaults to <literal>0644</literal>.
</para>
<para>
The <literal>lmdb</literal> driver accepts two additional parameters. The first
allows to specify the <literal>$filemode</literal> (see description above), and the
second to specify the <literal>$mapsize</literal>, where the value should be a multiple
of the page size of the OS, or zero, to use the default mapsize. The <literal>$mapsize</literal>
parameter is supported as of PHP 7.3.14 and 7.4.2, respectively.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>Ds\Deque::contains</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Determines if the deque contains all values.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Ds\Deque::insert</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Inserts values into the deque at a given index.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Ds\Deque::push</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Adds values to the end of the deque.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<constructorsynopsis>
<modifier>public</modifier> <methodname>Ds\Map::__construct</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</constructorsynopsis>
<para>
Creates a new instance, using either a <classname>traversable</classname>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Ds\Queue::push</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Pushes <parameter>values</parameter> into the queue.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>bool</type><methodname>Ds\Sequence::contains</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Determines if the sequence contains all values.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>void</type><methodname>Ds\Sequence::insert</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Inserts values into the sequence at a given index.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>abstract</modifier> <modifier>public</modifier> <type>void</type><methodname>Ds\Sequence::push</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Adds values to the end of the sequence.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Ds\Set::add</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Adds all given values to the set that haven't already been added.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<constructorsynopsis>
<modifier>public</modifier> <methodname>Ds\Set::__construct</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</constructorsynopsis>
<para>
Creates a new instance, using either a <classname>traversable</classname>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>Ds\Set::contains</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Determines if the set contains all values.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Ds\Set::remove</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Removes all given <parameter>values</parameter> from the set, ignoring any that are not in the set.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Ds\Stack::push</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Pushes <parameter>values</parameter> onto the stack.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>bool</type><methodname>Ds\Vector::contains</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Determines if the vector contains all values.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Ds\Vector::insert</methodname>
<methodparam><type>int</type><parameter>index</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Inserts values into the vector at a given index.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>Ds\Vector::push</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...values</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Adds values to the end of the vector.

View file

@ -14,7 +14,7 @@
<methodparam><type>int</type><parameter>num_layers</parameter></methodparam>
<methodparam><type>int</type><parameter>num_neurons1</parameter></methodparam>
<methodparam><type>int</type><parameter>num_neurons2</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>int</type><parameter>num_neuronsN</parameter></methodparam>
</methodsynopsis>
<para>
Creates a standard backpropagation neural network, which is not fully connected and which also has shortcut connections.
@ -53,7 +53,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>num_neuronsN</parameter></term>
<listitem>
<para>
Number of neurons in other layers.

View file

@ -15,7 +15,7 @@
<methodparam><type>int</type><parameter>num_layers</parameter></methodparam>
<methodparam><type>int</type><parameter>num_neurons1</parameter></methodparam>
<methodparam><type>int</type><parameter>num_neurons2</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>int</type><parameter>num_neuronsN</parameter></methodparam>
</methodsynopsis>
<para>
Creates a standard backpropagation neural network, which is not fully connected.
@ -60,7 +60,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>num_neuronsN</parameter></term>
<listitem>
<para>
Number of neurons in other layers.

View file

@ -14,7 +14,7 @@
<methodparam><type>int</type><parameter>num_layers</parameter></methodparam>
<methodparam><type>int</type><parameter>num_neurons1</parameter></methodparam>
<methodparam><type>int</type><parameter>num_neurons2</parameter></methodparam>
<methodparam choice="opt"><type>int</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>int</type><parameter>num_neuronsN</parameter></methodparam>
</methodsynopsis>
<para>
Creates a standard fully connected backpropagation neural network.
@ -57,7 +57,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>num_neuronsN</parameter></term>
<listitem>
<para>
Number of neurons in other layers.

View file

@ -12,7 +12,7 @@
<type>mixed</type><methodname>fscanf</methodname>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter role="reference">...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter role="reference">vars</parameter></methodparam>
</methodsynopsis>
<para>
The function <function>fscanf</function> is similar to
@ -43,7 +43,7 @@
</varlistentry>
&strings.parameter.format;
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>vars</parameter></term>
<listitem>
<para>
The optional assigned values.

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>mixed</type><methodname>call_user_func</methodname>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Calls the <parameter>callback</parameter> given by the first parameter and passes
@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
Zero or more parameters to be passed to the callback.

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>mixed</type><methodname>forward_static_call</methodname>
<methodparam><type>callable</type><parameter>function</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Calls a user defined function or method given by the <parameter>function</parameter>
@ -37,7 +37,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
Zero or more parameters to be passed to the function.

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>void</type><methodname>register_shutdown_function</methodname>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Registers a <parameter>callback</parameter> to be executed after script
@ -43,7 +43,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
It is possible to pass parameters to the shutdown function by passing

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>bool</type><methodname>register_tick_function</methodname>
<methodparam><type>callable</type><parameter>function</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<simpara>
Registers the given <parameter>function</parameter> to be executed when a
@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
</para>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>resource</type><methodname>ibase_execute</methodname>
<methodparam><type>resource</type><parameter>query</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Execute a query prepared by <function>ibase_prepare</function>.
@ -36,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
</para>

View file

@ -11,15 +11,15 @@
<methodsynopsis>
<type>resource</type><methodname>ibase_set_event_handler</methodname>
<methodparam><type>callable</type><parameter>event_handler</parameter></methodparam>
<methodparam><type>string</type><parameter>event_name1</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam><type>string</type><parameter>event_name</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>even_names</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>resource</type><methodname>ibase_set_event_handler</methodname>
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam><type>callable</type><parameter>event_handler</parameter></methodparam>
<methodparam><type>string</type><parameter>event_name1</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam><type>string</type><parameter>event_name</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>event_names</parameter></methodparam>
</methodsynopsis>
<para>
This function registers a PHP user function as event handler for the
@ -47,7 +47,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>event_name1</parameter></term>
<term><parameter>event_name</parameter></term>
<listitem>
<para>
An event name.
@ -55,7 +55,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>event_names</parameter></term>
<listitem>
<para>
At most 15 events allowed.

View file

@ -10,14 +10,14 @@
&reftitle.description;
<methodsynopsis>
<type>string</type><methodname>ibase_wait_event</methodname>
<methodparam><type>string</type><parameter>event_name1</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam><type>string</type><parameter>event_name</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>event_names</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>string</type><methodname>ibase_wait_event</methodname>
<methodparam><type>resource</type><parameter>connection</parameter></methodparam>
<methodparam><type>string</type><parameter>event_name1</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam><type>string</type><parameter>event_name</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>event_names</parameter></methodparam>
</methodsynopsis>
<para>
This function suspends execution of the script until one of the specified events
@ -31,7 +31,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>event_name1</parameter></term>
<term><parameter>event_name</parameter></term>
<listitem>
<para>
The event name.
@ -39,7 +39,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>event_names</parameter></term>
<listitem>
<para>
</para>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>LuaClosure::__invoke</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
@ -25,7 +25,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>array</type><type>bool</type></type><methodname>LuaSandbox::callFunction</methodname>
<methodparam><type>string</type><parameter>name</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Calls a function in a Lua global variable.
@ -43,7 +43,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
Arguments to the function.

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type class="union"><type>array</type><type>bool</type></type><methodname>LuaSandboxFunction::call</methodname>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Calls a Lua function.
@ -119,7 +119,7 @@
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
Arguments passed to the function.

View file

@ -9,12 +9,12 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>max</methodname>
<methodparam><type>array</type><parameter>values</parameter></methodparam>
<methodparam><type>array</type><parameter>value_array</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>mixed</type><methodname>max</methodname>
<methodparam><type>mixed</type><parameter>value1</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
If the first and only parameter is an array, <function>max</function>
@ -42,7 +42,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>values</parameter></term>
<term><parameter>value_array</parameter></term>
<listitem>
<para>
An array containing the values.
@ -50,7 +50,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>value1</parameter></term>
<term><parameter>value</parameter></term>
<listitem>
<para>
Any <link linkend="language.operators.comparison">comparable</link>
@ -59,11 +59,11 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
Any <link linkend="language.operators.comparison">comparable</link>
value.
values.
</para>
</listitem>
</varlistentry>

View file

@ -9,12 +9,12 @@
&reftitle.description;
<methodsynopsis>
<type>mixed</type><methodname>min</methodname>
<methodparam><type>array</type><parameter>values</parameter></methodparam>
<methodparam><type>array</type><parameter>value_array</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>mixed</type><methodname>min</methodname>
<methodparam><type>mixed</type><parameter>value1</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
If the first and only parameter is an array, <function>min</function>
@ -42,7 +42,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>values</parameter></term>
<term><parameter>value_array</parameter></term>
<listitem>
<para>
An array containing the values.
@ -50,7 +50,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>value1</parameter></term>
<term><parameter>value</parameter></term>
<listitem>
<para>
Any <link linkend="language.operators.comparison">comparable</link>
@ -59,11 +59,11 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
Any <link linkend="language.operators.comparison">comparable</link>
value.
values.
</para>
</listitem>
</varlistentry>

View file

@ -12,12 +12,12 @@
<type>string</type><methodname>mb_convert_variables</methodname>
<methodparam><type>string</type><parameter>to_encoding</parameter></methodparam>
<methodparam><type>mixed</type><parameter>from_encoding</parameter></methodparam>
<methodparam><type>mixed</type><parameter role="reference">vars</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter role="reference">...</parameter></methodparam>
<methodparam><type>mixed</type><parameter role="reference">var</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter role="reference">vars</parameter></methodparam>
</methodsynopsis>
<para>
Converts
character encoding of variables <parameter>vars</parameter> in
character encoding of variables <parameter>var</parameter> and <parameter>vars</parameter> in
encoding <parameter>from_encoding</parameter> to encoding
<parameter>to_encoding</parameter>.
</para>
@ -53,10 +53,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>vars</parameter></term>
<term><parameter>var</parameter></term>
<listitem>
<para>
<parameter>vars</parameter> is the reference to the
<parameter>var</parameter> is the reference to the
variable being converted. String, Array and Object are accepted.
<function>mb_convert_variables</function> assumes all parameters
have the same encoding.
@ -64,10 +64,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>vars</parameter></term>
<listitem>
<para>
Additional <parameter>vars</parameter>.
Additional <parameter>var</parameter>s.
</para>
</listitem>
</varlistentry>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>pack</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Pack given arguments into a binary string according to
@ -179,7 +179,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
</para>

View file

@ -17,8 +17,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>array</type><methodname>MongoCollection::aggregate</methodname>
<methodparam><type>array</type><parameter>op</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>op</parameter></methodparam>
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>array</type><parameter>ops</parameter></methodparam>
</methodsynopsis>
<para>
The MongoDB
@ -84,15 +83,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>op</parameter></term>
<listitem>
<para>
The second pipeline operator.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>ops</parameter></term>
<listitem>
<para>
Additional pipeline operators.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>mysql_xdevapi\TableInsert</type><methodname>mysql_xdevapi\Table::insert</methodname>
<methodparam><type>mixed</type><parameter>columns</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>more_columns</parameter></methodparam>
</methodsynopsis>
<para>
Inserts rows into a table.
@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>more_columns</parameter></term>
<listitem>
<para>
Additional columns definitions.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>mysql_xdevapi\TableSelect</type><methodname>mysql_xdevapi\Table::select</methodname>
<methodparam><type>mixed</type><parameter>columns</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>more_columns</parameter></methodparam>
</methodsynopsis>
<para>
Fetches data from a table.
@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>more_columns</parameter></term>
<listitem>
<para>
Additional columns parameter definitions.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>mysql_xdevapi\TableSelect</type><methodname>mysql_xdevapi\TableSelect::orderby</methodname>
<methodparam><type>mixed</type><parameter>sort_expr</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>sort_exprs</parameter></methodparam>
</methodsynopsis>
<para>
Sets the order by criteria.
@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>sort_expr</parameter></term>
<listitem>
<para>
Additional sort_expr parameters.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>mysql_xdevapi\TableUpdate</type><methodname>mysql_xdevapi\TableUpdate::orderby</methodname>
<methodparam><type>mixed</type><parameter>orderby_expr</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>orderby_exprs</parameter></methodparam>
</methodsynopsis>
<para>
Sets the sorting criteria.
@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>orderby_exprs</parameter></term>
<listitem>
<para>
Additional sort_expr parameters.

View file

@ -56,8 +56,8 @@
<type>mixed</type><methodname><replaceable>step</replaceable></methodname>
<methodparam><type>mixed</type><parameter>context</parameter></methodparam>
<methodparam><type>int</type><parameter>rownumber</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value1</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<variablelist>
<varlistentry>
@ -79,7 +79,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>value1</parameter></term>
<term><parameter>value</parameter></term>
<listitem>
<para>
The first argument passed to the aggregate.
@ -87,7 +87,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
Further arguments passed to the aggregate.

View file

@ -58,12 +58,12 @@
This function need to be defined as:
<methodsynopsis>
<type>mixed</type><methodname><replaceable>callback</replaceable></methodname>
<methodparam><type>mixed</type><parameter>value1</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<variablelist>
<varlistentry>
<term><parameter>value1</parameter></term>
<term><parameter>value</parameter></term>
<listitem>
<para>
The first argument passed to the SQL function.
@ -71,7 +71,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
Further arguments passed to the SQL function.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>pht\Thread::addClassTask</methodname>
<methodparam><type>string</type><parameter>className</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...ctorArgs</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>ctorArgs</parameter></methodparam>
</methodsynopsis>
<para>
Adds a new class task to a <classname>pht\Thread</classname>s internal task queue.
@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...ctorArgs</parameter></term>
<term><parameter>ctorArgs</parameter></term>
<listitem>
<para>
An optional list of arguments for the threaded class' constructor. These

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>pht\Thread::addFileTask</methodname>
<methodparam><type>string</type><parameter>fileName</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...globals</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>globals</parameter></methodparam>
</methodsynopsis>
<para>
Adds a new file task to a <classname>pht\Thread</classname>s internal task queue.
@ -31,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...globals</parameter></term>
<term><parameter>globals</parameter></term>
<listitem>
<para>
An optional list of arguments for the file. These arguments will be

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>pht\Thread::addFunctionTask</methodname>
<methodparam><type>callable</type><parameter>func</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...funcArgs</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>funcArgs</parameter></methodparam>
</methodsynopsis>
<para>
Adds a new function task to a <classname>pht\Thread</classname>s internal task queue.
@ -32,7 +32,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...funcArgs</parameter></term>
<term><parameter>funcArgs</parameter></term>
<listitem>
<para>
An optional list of arguments for the function. These arguments will be

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>mixed</type><methodname>Threaded::synchronized</methodname>
<methodparam><type>Closure</type><parameter>block</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Executes the block while retaining the referenced objects synchronization lock for the calling context
@ -31,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
Variable length list of arguments to use as function arguments to the block

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>object</type><methodname>ReflectionClass::newInstance</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Creates a new instance of the class. The given arguments are passed to the
@ -25,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
Accepts a variable number of arguments which are passed to the class
@ -51,7 +51,7 @@
</para>
<para>
A <classname>ReflectionException</classname> if the class does not have a constructor
and the <parameter>...</parameter> parameter contains one or more parameters.
and the <parameter>args</parameter> parameter contains one or more parameters.
</para>
</refsect1>

View file

@ -11,7 +11,7 @@
&reftitle.description;
<methodsynopsis>
<modifier>public</modifier> <type>mixed</type><methodname>ReflectionFunction::invoke</methodname>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Invokes a reflected function.
@ -23,7 +23,7 @@
<para>
<variablelist>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
The passed in argument list. It accepts a variable number of

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>mixed</type><methodname>ReflectionMethod::invoke</methodname>
<methodparam><type>object</type><parameter>object</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Invokes a reflected method.
@ -34,7 +34,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
Zero or more parameters to be passed to the method.

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>bool</type><methodname>session_register</methodname>
<methodparam><type>mixed</type><parameter>name</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>names</parameter></methodparam>
</methodsynopsis>
<para>
<function>session_register</function> accepts a variable number of
@ -61,7 +61,7 @@ $_SESSION["zim"] = "An invader from another planet.";
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>names</parameter></term>
<listitem>
<para>
</para>

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>void</type><methodname>SoapServer::setClass</methodname>
<methodparam><type>string</type><parameter>class_name</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Exports all methods from specified class.
@ -36,7 +36,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
These optional parameters will be passed to the default class constructor

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <type>mixed</type><methodname>SplFileObject::fscanf</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter role="reference">...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter role="reference">vars</parameter></methodparam>
</methodsynopsis>
<para>
Reads a line from the file and interprets it according to the specified <parameter>format</parameter>, which is
@ -30,7 +30,7 @@
<variablelist>
&strings.parameter.format;
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>vars</parameter></term>
<listitem>
<para>
The optional assigned values.

View file

@ -48,8 +48,8 @@
<type>mixed</type><methodname><replaceable>step</replaceable></methodname>
<methodparam><type>mixed</type><parameter>context</parameter></methodparam>
<methodparam><type>int</type><parameter>rownumber</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value1</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<variablelist>
<varlistentry>
@ -71,7 +71,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>value1</parameter></term>
<term><parameter>value</parameter></term>
<listitem>
<para>
The first argument passed to the aggregate.
@ -79,7 +79,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
Further arguments passed to the aggregate.

View file

@ -45,12 +45,12 @@
This function need to be defined as:
<methodsynopsis>
<type>mixed</type><methodname><replaceable>callback</replaceable></methodname>
<methodparam><type>mixed</type><parameter>value1</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam><type>mixed</type><parameter>value</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<variablelist>
<varlistentry>
<term><parameter>value1</parameter></term>
<term><parameter>value</parameter></term>
<listitem>
<para>
The first argument passed to the SQL function.
@ -58,7 +58,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
Further arguments passed to the SQL function.

View file

@ -10,8 +10,8 @@
&reftitle.description;
<methodsynopsis>
<type>void</type><methodname>echo</methodname>
<methodparam><type>string</type><parameter>arg1</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam><type>string</type><parameter>arg</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<simpara>
Outputs all parameters. No additional newline is appended.
@ -50,7 +50,7 @@ I have <?=$foo?> foo.
<para>
<variablelist>
<varlistentry>
<term><parameter>arg1</parameter></term>
<term><parameter>arg</parameter></term>
<listitem>
<para>
The parameter to output.
@ -58,7 +58,7 @@ I have <?=$foo?> foo.
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
</para>

View file

@ -12,7 +12,7 @@
<type>int</type><methodname>fprintf</methodname>
<methodparam><type>resource</type><parameter>handle</parameter></methodparam>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Write a string produced according to <parameter>format</parameter> to the
@ -32,7 +32,7 @@
</varlistentry>
&strings.parameter.format;
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
</para>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>int</type><methodname>printf</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<simpara>
Produces output according to <parameter>format</parameter>.
@ -24,7 +24,7 @@
<variablelist>
&strings.parameter.format;
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
</para>

View file

@ -12,7 +12,7 @@
<type>string</type><methodname>setlocale</methodname>
<methodparam><type>int</type><parameter>category</parameter></methodparam>
<methodparam><type>string</type><parameter>locale</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>locales</parameter></methodparam>
</methodsynopsis>
<methodsynopsis>
<type>string</type><methodname>setlocale</methodname>
@ -115,7 +115,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>locales</parameter></term>
<listitem>
<para>
(Optional string or array parameters to try as locale settings until

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>string</type><methodname>sprintf</methodname>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>values</parameter></methodparam>
</methodsynopsis>
<para>
Returns a string produced according to the formatting string
@ -25,7 +25,7 @@
<variablelist>
&strings.parameter.format;
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>values</parameter></term>
<listitem>
<para>
</para>

View file

@ -12,7 +12,7 @@
<type>mixed</type><methodname>sscanf</methodname>
<methodparam><type>string</type><parameter>str</parameter></methodparam>
<methodparam><type>string</type><parameter>format</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter role="reference">...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter role="reference">vars</parameter></methodparam>
</methodsynopsis>
<para>
The function <function>sscanf</function> is the input analog of
@ -72,7 +72,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>vars</parameter></term>
<listitem>
<para>
Optionally pass in variables by reference that will contain the parsed values.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<modifier>public</modifier> <modifier>static</modifier> <type>mixed</type><methodname>Swoole\Coroutine::call_user_func</methodname>
<methodparam><type>callable</type><parameter>callback</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>args</parameter></methodparam>
</methodsynopsis>
<para>
Calls the <parameter>callback</parameter> given by the first parameter and passes the remaining parameters as arguments.
@ -33,7 +33,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>args</parameter></term>
<listitem>
<para>
Zero or more parameters to be passed to the callback.

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<type>bool</type><methodname>taint</methodname>
<methodparam><type>string</type><parameter role="reference">string</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>strings</parameter></methodparam>
</methodsynopsis>
<para>
Make a string tainted. This is used for testing purpose only.
@ -31,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>strings</parameter></term>
<listitem>
<para>
</para>

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<type>bool</type><methodname>untaint</methodname>
<methodparam><type>string</type><parameter role="reference">string</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>string</type><parameter>strings</parameter></methodparam>
</methodsynopsis>
<para>
Untaint strings
@ -31,7 +31,7 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>strings</parameter></term>
<listitem>
<para>

View file

@ -10,7 +10,7 @@
<methodsynopsis>
<type>void</type><methodname>debug_zval_dump</methodname>
<methodparam><type>mixed</type><parameter>variable</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>variables</parameter></methodparam>
</methodsynopsis>
<para>
Dumps a string representation of an internal zend value to output.
@ -24,7 +24,15 @@
<term><parameter>variable</parameter></term>
<listitem>
<para>
The variable being evaluated.
The variable to dump.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>variables</parameter></term>
<listitem>
<para>
Further variables to dump.
</para>
</listitem>
</varlistentry>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>bool</type><methodname>isset</methodname>
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>vars</parameter></methodparam>
</methodsynopsis>
<para>
Determine if a variable is considered set,
@ -48,10 +48,10 @@
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>vars</parameter></term>
<listitem>
<para>
Another variable ...
Further variables.
</para>
</listitem>
</varlistentry>

View file

@ -11,7 +11,7 @@
<methodsynopsis>
<type>void</type><methodname>unset</methodname>
<methodparam><type>mixed</type><parameter>var</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>vars</parameter></methodparam>
</methodsynopsis>
<para>
<function>unset</function> destroys the specified variables.
@ -165,10 +165,10 @@ Before unset: 3, after unset: 23
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>...</parameter></term>
<term><parameter>vars</parameter></term>
<listitem>
<para>
Another variable ...
Further variables.
</para>
</listitem>
</varlistentry>

View file

@ -12,7 +12,7 @@
<methodsynopsis>
<type>void</type><methodname>var_dump</methodname>
<methodparam><type>mixed</type><parameter>expression</parameter></methodparam>
<methodparam choice="opt"><type>mixed</type><parameter>...</parameter></methodparam>
<methodparam rep="repeat"><type>mixed</type><parameter>expressions</parameter></methodparam>
</methodsynopsis>
<simpara>
This function displays structured information about one or more
@ -36,7 +36,15 @@
<term><parameter>expression</parameter></term>
<listitem>
<para>
The variable you want to dump.
The expression to dump.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>expressions</parameter></term>
<listitem>
<para>
Further expressions to dump.
</para>
</listitem>
</varlistentry>

Some files were not shown because too many files have changed in this diff Show more