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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php