# array_search "all" value (not only the first one)

- Thread: https://externals.io/message/95006
- Original archive: https://news-web.php.net/php.internals/95006
- Started by Remi Collet on 2016-08-10T13:37:34+00:00
- Messages: 3
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #95006 — Remi Collet — 2016-08-10T13:37:34+00:00

URL: https://externals.io/message/95006#95006

I think this is a small missing feature.


Comment welcome on https://github.com/php/php-src/pull/2071


(don't know if such a small self-contained change need a RFC).


Remi.

---

## #95008 — Nikita Popov — 2016-08-10T13:58:54+00:00

URL: https://externals.io/message/95006#95008 · In reply to: #95006

> I think this is a small missing feature.
>
>
> Comment welcome on https://github.com/php/php-src/pull/2071
>
>
> (don't know if such a small self-contained change need a RFC).
>
>
> Remi.
>
>
Hi,

how does this differ from array_keys($array, $search)?

Nikita

---

## #95012 — Remi Collet — 2016-08-10T14:18:59+00:00

URL: https://externals.io/message/95006#95012 · In reply to: #95008

Le 10/08/2016 à 15:58, Nikita Popov a écrit :
> On Wed, Aug 10, 2016 at 3:37 PM, Remi Collet <remi@fedoraproject.org
> <mailto:remi@fedoraproject.org>> wrote:
> 
>     I think this is a small missing feature.
> 
> 
>     Comment welcome on https://github.com/php/php-src/pull/2071
>     <https://github.com/php/php-src/pull/2071>
> 
> 
>     (don't know if such a small self-contained change need a RFC).
> 
> 
>     Remi.
> 
> 
> Hi,
> 
> how does this differ from array_keys($array, $search)?

Same thing ;)
Except I have miss that one...

Still don't known every options :p

> 
> Nikita
