reference/array/functions/array-intersect-ukey.xml
2226ad08fd93e3979efbba47c5ae3545eec97d25
...
...
@@ -9,14 +9,13 @@
9
9
&reftitle.description;
10
10
<methodsynopsis>
11
11
<type>array</type><methodname>array_intersect_ukey</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>
12
+
<methodparam><type>array</type><parameter>array</parameter></methodparam>
13
+
<methodparam rep="repeat"><type>array</type><parameter>arrays</parameter></methodparam>
15
14
<methodparam><type>callable</type><parameter>key_compare_func</parameter></methodparam>
16
15
</methodsynopsis>
17
16
<para>
18
17
<function>array_intersect_ukey</function> returns an array
19
-
containing all the values of <parameter>array1</parameter>
18
+
containing all the values of <parameter>array</parameter>
20
19
which have matching keys that are present in all the arguments.
21
20
</para>
22
21
</refsect1>
...
...
@@ -26,7 +25,7 @@
26
25
<para>
27
26
<variablelist>
28
27
<varlistentry>
29
-
<term><parameter>array1</parameter></term>
28
+
<term><parameter>array</parameter></term>
30
29
<listitem>
31
30
<para>
32
31
Initial array for comparison of the arrays.
...
...
@@ -34,28 +33,17 @@
34
33
</listitem>
35
34
</varlistentry>
36
35
<varlistentry>
37
-
<term><parameter>array2</parameter></term>
36
+
<term><parameter>arrays</parameter></term>
38
37
<listitem>
39
38
<para>
40
-
First array to compare keys against.
41
-
</para>
42
-
</listitem>
43
-
</varlistentry>
44
-
<varlistentry>
45
-
<term><parameter>...</parameter></term>
46
-
<listitem>
47
-
<para>
48
-
Variable list of array arguments to compare keys against.
39
+
Arrays to compare keys against.
49
40
</para>
50
41
</listitem>
51
42
</varlistentry>
52
43
<varlistentry>
53
44
<term><parameter>key_compare_func</parameter></term>
54
45
<listitem>
55
-
<para>
56
-
&return.callbacksort;
57
-
</para>
58
-
&callback.cmp;
46
+
&sort.callback.description;
59
47
</listitem>
60
48
</varlistentry>
61
49
</variablelist>
...
...
@@ -65,7 +53,7 @@
65
53
<refsect1 role="returnvalues">
66
54
&reftitle.returnvalues;
67
55
<para>
68
-
Returns the values of <parameter>array1</parameter> whose keys exist
56
+
Returns the values of <parameter>array</parameter> whose keys exist
69
57
in all the arguments.
70
58
</para>
71
59
</refsect1>
...
...
@@ -114,7 +102,7 @@ array(2) {
114
102
returned. Also notice that the values for the keys
115
103
<literal>'blue'</literal> and <literal>'green'</literal> differ between
116
104
the two arrays. A match still occurs because only the keys are checked.
117
-
The values returned are those of <parameter>array1</parameter>.
105
+
The values returned are those of <parameter>array</parameter>.
118
106
</para>
119
107
</refsect1>
120
108

121
109