Re: [PHP-DEV] sets From: Andrei Zmievski (andrei <email protected>)
Date: 05/15/00

On Mon, 15 May 2000, Zeev Suraski wrote:
> If they're well written, then those functions will be accepted. Generally
> any function which may be useful for the general public is happily accepted.

This is to the original poster (I lost the message):

Name them array_union(), array_intersect(), array_subtract(). It's
shorter and goes along with object-verb metaphor. Make sure you preserve
the keys in the resulting arrays. I can take a look after you're done
and polish it up. It'd be nice to perform these operations on an
arbitrary number of arrays.

Oh, also, I think array_merge() already does what you want array_union()
to do.

-Andrei
* "Lack of planning on your part doesn't consitute an emergency on my part." *

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>