Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:7070 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94606 invoked by uid 1010); 13 Jan 2004 21:59:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94572 invoked from network); 13 Jan 2004 21:59:23 -0000 Received: from unknown (HELO mrout2.yahoo.com) (216.145.54.172) by pb1.pair.com with SMTP; 13 Jan 2004 21:59:23 -0000 Received: from bourbon.corp.yahoo.com (bourbon.corp.yahoo.com [216.145.53.135]) by mrout2.yahoo.com (8.12.10/8.12.10/y.out) with ESMTP id i0DLwX26014787; Tue, 13 Jan 2004 13:58:33 -0800 (PST) Received: (from andrei@localhost) by bourbon.corp.yahoo.com (8.12.9/8.11.1) id i0DLwXve070827; Tue, 13 Jan 2004 13:58:33 -0800 (PST) (envelope-from andrei) Date: Tue, 13 Jan 2004 13:58:33 -0800 To: Andrey Hristov Cc: internals@lists.php.net Message-ID: <20040113215833.GA70803@gravitonic.com> References: <40045BB4.4050000@hristov.com> <40046198.6010800@cschneid.com> <400466AB.2020502@hristov.com> <4004676F.8010803@hristov.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4004676F.8010803@hristov.com> User-Agent: Mutt/1.4.1i Subject: Re: [PHP-DEV] Re: new function? From: andrei@gravitonic.com (Andrei Zmievski) On Tue, 13 Jan 2004, Andrey Hristov wrote: > Hi, > just a correction, I meant array_diff when i wrote array_intersect. > array_diff is more handy since just count($res)==0 is enough, $res is the > returned array of array_diff(). Did you actually try array_intersect()? - Andrei