1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Fix wrong parameter name in reference to array_keys() (#3180)

The second parameter of the `array_keys()` function is `filter_value` not `search_value`
This commit is contained in:
Mikhail Alferov
2024-02-13 20:03:45 +03:00
committed by GitHub
parent 2ed209827b
commit 768876982f

View File

@@ -70,7 +70,7 @@
If <parameter>needle</parameter> is found in <parameter>haystack</parameter>
more than once, the first matching key is returned. To return the keys for
all matching values, use <function>array_keys</function> with the optional
<parameter>search_value</parameter> parameter instead.
<parameter>filter_value</parameter> parameter instead.
</para>
&return.falseproblem;
</refsect1>