reference/array/functions/array-diff-ukey.xml
2226ad08fd93e3979efbba47c5ae3545eec97d25
...
...
@@ -10,14 +10,13 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>array</type><methodname>array_diff_ukey</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
-
Compares the keys from <parameter>array1</parameter> against the keys
20
-
from <parameter>array2</parameter> and returns the difference.
18
+
Compares the keys from <parameter>array</parameter> against the keys
19
+
from <parameter>arrays</parameter> and returns the difference.
21
20
This function is like <function>array_diff</function> except the
22
21
comparison is done on the keys instead of the values.
23
22
</para>
...
...
@@ -33,7 +32,7 @@
33
32
<variablelist>
34
33

35
34
<varlistentry>
36
-
<term><parameter>array1</parameter></term>
35
+
<term><parameter>array</parameter></term>
37
36
<listitem>
38
37
<para>
39
38
The array to compare from
...
...
@@ -42,19 +41,10 @@
42
41
</varlistentry>
43
42

44
43
<varlistentry>
45
-
<term><parameter>array2</parameter></term>
44
+
<term><parameter>arrays</parameter></term>
46
45
<listitem>
47
46
<para>
48
-
An array to compare against
49
-
</para>
50
-
</listitem>
51
-
</varlistentry>
52
-

53
-
<varlistentry>
54
-
<term><parameter>...</parameter></term>
55
-
<listitem>
56
-
<para>
57
-
More arrays to compare against
47
+
Arrays to compare against
58
48
</para>
59
49
</listitem>
60
50
</varlistentry>
...
...
@@ -62,10 +52,7 @@
62
52
<varlistentry>
63
53
<term><parameter>key_compare_func</parameter></term>
64
54
<listitem>
65
-
<para>
66
-
&return.callbacksort;
67
-
</para>
68
-
&callback.cmp;
55
+
&sort.callback.description;
69
56
</listitem>
70
57
</varlistentry>
71
58

...
...
@@ -77,7 +64,7 @@
77
64
&reftitle.returnvalues;
78
65
<para>
79
66
Returns an <type>array</type> containing all the entries from
80
-
<parameter>array1</parameter> that are not present in any of the other arrays.
67
+
<parameter>array</parameter> that are not present in any of the other arrays.
81
68
</para>
82
69
</refsect1>
83
70

84
71