reference/array/functions/array-intersect-assoc.xml
c84024092aee02b51dd18b909af0f2ccbdd24f98
...
...
@@ -10,13 +10,12 @@
10
10
&reftitle.description;
11
11
<methodsynopsis>
12
12
<type>array</type><methodname>array_intersect_assoc</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
</methodsynopsis>
17
16
<simpara>
18
17
<function>array_intersect_assoc</function> returns an array
19
-
containing all the values of <parameter>array1</parameter>
18
+
containing all the values of <parameter>array</parameter>
20
19
that are present in all the arguments. Note that the keys are also used in
21
20
the comparison unlike in <function>array_intersect</function>.
22
21
</simpara>
...
...
@@ -27,7 +26,7 @@
27
26
<para>
28
27
<variablelist>
29
28
<varlistentry>
30
-
<term><parameter>array1</parameter></term>
29
+
<term><parameter>array</parameter></term>
31
30
<listitem>
32
31
<para>
33
32
The array with master values to check.
...
...
@@ -35,18 +34,10 @@
35
34
</listitem>
36
35
</varlistentry>
37
36
<varlistentry>
38
-
<term><parameter>array2</parameter></term>
37
+
<term><parameter>arrays</parameter></term>
39
38
<listitem>
40
39
<para>
41
-
An array to compare values against.
42
-
</para>
43
-
</listitem>
44
-
</varlistentry>
45
-
<varlistentry>
46
-
<term><parameter>...</parameter></term>
47
-
<listitem>
48
-
<para>
49
-
A variable list of arrays to compare.
40
+
Arrays to compare values against.
50
41
</para>
51
42
</listitem>
52
43
</varlistentry>
...
...
@@ -58,7 +49,26 @@
58
49
&reftitle.returnvalues;
59
50
<para>
60
51
Returns an associative array containing all the values in
61
-
<parameter>array1</parameter> that are present in all of the arguments.
52
+
<parameter>array</parameter> that are present in all of the arguments.
53
+
</para>
54
+
</refsect1>
55
+

56
+
<refsect1 role="changelog">
57
+
&reftitle.changelog;
58
+
<para>
59
+
<informaltable>
60
+
<tgroup cols="2">
61
+
<thead>
62
+
<row>
63
+
<entry>&Version;</entry>
64
+
<entry>&Description;</entry>
65
+
</row>
66
+
</thead>
67
+
<tbody>
68
+
&array.changelog.require-only-one;
69
+
</tbody>
70
+
</tgroup>
71
+
</informaltable>
62
72
</para>
63
73
</refsect1>
64
74

65
75