reference/array/functions/array-intersect-uassoc.xml
2226ad08fd93e3979efbba47c5ae3545eec97d25
...
...
@@ -10,14 +10,13 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>array</type><methodname>array_intersect_uassoc</methodname>
13
-
<methodparam><type>array</type><parameter>array1</parameter></methodparam>
14
-
<methodparam><type>array</type><parameter>array2</parameter></methodparam>
15
-
<methodparam choice="opt"><type>array</type><parameter>...</parameter></methodparam>
13
+
<methodparam><type>array</type><parameter>array</parameter></methodparam>
14
+
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
16
15
<methodparam><type>callable</type><parameter>key_compare_func</parameter></methodparam>
17
16
</methodsynopsis>
18
17
<para>
19
18
<function>array_intersect_uassoc</function> returns an array
20
-
containing all the values of <parameter>array1</parameter>
19
+
containing all the values of <parameter>array</parameter>
21
20
that are present in all the arguments. Note that the keys are used in
22
21
the comparison unlike in <function>array_intersect</function>.
23
22
</para>
...
...
@@ -28,7 +27,7 @@
28
27
<para>
29
28
<variablelist>
30
29
<varlistentry>
31
-
<term><parameter>array1</parameter></term>
30
+
<term><parameter>array</parameter></term>
32
31
<listitem>
33
32
<para>
34
33
Initial array for comparison of the arrays.
...
...
@@ -36,28 +35,17 @@
36
35
</listitem>
37
36
</varlistentry>
38
37
<varlistentry>
39
-
<term><parameter>array2</parameter></term>
38
+
<term><parameter>arrays</parameter></term>
40
39
<listitem>
41
40
<para>
42
-
First array to compare keys against.
43
-
</para>
44
-
</listitem>
45
-
</varlistentry>
46
-
<varlistentry>
47
-
<term><parameter>...</parameter></term>
48
-
<listitem>
49
-
<para>
50
-
Variable list of array arguments to compare values against.
41
+
Arrays to compare keys against.
51
42
</para>
52
43
</listitem>
53
44
</varlistentry>
54
45
<varlistentry>
55
46
<term><parameter>key_compare_func</parameter></term>
56
47
<listitem>
57
-
<para>
58
-
&return.callbacksort;
59
-
</para>
60
-
&callback.cmp;
48
+
&sort.callback.description;
61
49
</listitem>
62
50
</varlistentry>
63
51
</variablelist>
...
...
@@ -67,7 +55,7 @@
67
55
<refsect1 role="returnvalues">
68
56
&reftitle.returnvalues;
69
57
<para>
70
-
Returns the values of <parameter>array1</parameter> whose values exist
58
+
Returns the values of <parameter>array</parameter> whose values exist
71
59
in all of the arguments.
72
60
</para>
73
61
</refsect1>
74
62