reference/array/functions/array-keys.xml
5414f72979796d241b9c0b5dc1a9943e707699f2
...
...
@@ -8,18 +8,22 @@
8
8
9
9
<refsect1 role="description">
10
10
&reftitle.description;
11
-
<methodsynopsis>
11
+
<methodsynopsis role="procedural">
12
12
<type>array</type><methodname>array_keys</methodname>
13
13
<methodparam><type>array</type><parameter>array</parameter></methodparam>
14
-
<methodparam choice="opt"><type>mixed</type><parameter>search_value</parameter><initializer>null</initializer></methodparam>
15
-
<methodparam choice="opt"><type>bool</type><parameter>strict</parameter><initializer>false</initializer></methodparam>
14
+
</methodsynopsis>
15
+
<methodsynopsis role="procedural">
16
+
<type>array</type><methodname>array_keys</methodname>
17
+
<methodparam><type>array</type><parameter>array</parameter></methodparam>
18
+
<methodparam><type>mixed</type><parameter>filter_value</parameter></methodparam>
19
+
<methodparam choice="opt"><type>bool</type><parameter>strict</parameter><initializer>&false;</initializer></methodparam>
16
20
</methodsynopsis>
17
21
<para>
18
22
<function>array_keys</function> returns the keys, numeric and
19
23
string, from the <parameter>array</parameter>.
20
24
</para>
21
25
<para>
22
-
If the optional <parameter>search_value</parameter> is specified,
26
+
If a <parameter>filter_value</parameter> is specified,
23
27
then only the keys for that value are returned. Otherwise, all
24
28
the keys from the <parameter>array</parameter> are returned.
25
29
</para>
...
...
@@ -38,10 +42,10 @@
38
42
</listitem>
39
43
</varlistentry>
40
44
<varlistentry>
41
-
<term><parameter>search_value</parameter></term>
45
+
<term><parameter>filter_value</parameter></term>
42
46
<listitem>
43
47
<para>
44
-
If specified, then only keys containing these values are returned.
48
+
If specified, then only keys containing this value are returned.
45
49
</para>
46
50
</listitem>
47
51
</varlistentry>
...
...
@@ -114,6 +118,7 @@ Array
114
118
<para>
115
119
<simplelist>
116
120
<member><function>array_values</function></member>
121
+
<member><function>array_combine</function></member>
117
122
<member><function>array_key_exists</function></member>
118
123
<member><function>array_search</function></member>
119
124
</simplelist>
120
125