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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to