reference/array/functions/array-uintersect.xml
56509d07ae636f076057f55bbb2572ab7b7a39eb
...
...
@@ -9,10 +9,9 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>array</type><methodname>array_uintersect</methodname>
12
-
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
13
-
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
14
-
<methodparam choice="opt"><type>array</type><parameter> ...</parameter></methodparam>
15
-
<methodparam><type>callback</type><parameter>data_compare_func</parameter></methodparam>
12
+
<methodparam><type>array</type><parameter>array</parameter></methodparam>
13
+
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
14
+
<methodparam><type>callable</type><parameter>value_compare_func</parameter></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
Computes the intersection of arrays, compares data by a callback function.
...
...
@@ -23,7 +22,7 @@
23
22
<para>
24
23
<variablelist>
25
24
<varlistentry>
26
-
<term><parameter>array1</parameter></term>
25
+
<term><parameter>array</parameter></term>
27
26
<listitem>
28
27
<para>
29
28
The first array.
...
...
@@ -31,25 +30,18 @@
31
30
</listitem>
32
31
</varlistentry>
33
32
<varlistentry>
34
-
<term><parameter>array2</parameter></term>
33
+
<term><parameter>arrays</parameter></term>
35
34
<listitem>
36
35
<para>
37
-
The second array.
36
+
Arrays to compare against.
38
37
</para>
39
38
</listitem>
40
39
</varlistentry>
41
40
<varlistentry>
42
-
<term><parameter>data_compare_func</parameter></term>
41
+
<term><parameter>value_compare_func</parameter></term>
43
42
<listitem>
44
-
<para>
45
-
The callback comparison function.
46
-
</para>
47
-
<para>
48
-
The user supplied callback function is used for comparison.
49
-
It must return an integer less than, equal to, or greater than zero if
50
-
the first argument is considered to be respectively less than, equal
51
-
to, or greater than the second.
52
-
</para>
43
+
&sort.callback.description;
44
+
&sort.callback.description.presort;
53
45
</listitem>
54
46
</varlistentry>
55
47
</variablelist>
...
...
@@ -58,7 +50,7 @@
58
50
<refsect1 role="returnvalues">
59
51
&reftitle.returnvalues;
60
52
<para>
61
-
Returns an array containing all the values of <parameter>array1</parameter>
53
+
Returns an array containing all the values of <parameter>array</parameter>
62
54
that are present in all the arguments.
63
55
</para>
64
56
</refsect1>
65
57