Re: new function?
| From: | Andrei Zmievski | Date: | Tue, 13 Jan 2004 21:41:07 +0000 |
| Subject: | Re: new function? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7067@lists.php.net to get a copy of this message | ||
On Tue, 13 Jan 2004, Andrey Hristov wrote:
> Hi internals,
> I know HEAD is freezed, but anyway to ask
> whether a new function in_array_all() can be added.
> It works like in_array() but checks whether all needles
> are in the stack array.
>
> Diff :
>
> http://www.hristov.com/andrey/projects/php_stuff/in_array_all.diff.txt
Maybe just use array_intersect() instead?
- Andrei