Re: new function?
| From: | BDKR | Date: | Tue, 13 Jan 2004 21:22:37 +0000 |
| Subject: | Re: new function? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7066@lists.php.net to get a copy of this message | ||
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 Best wishes, Andrey Does this mean that one of the arguments could/should be an array?if(in_array($needles_array, $haystack_array)) { /*err.... */ } Cheers, BDKR