Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49830 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 39706 invoked from network); 30 Sep 2010 22:13:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Sep 2010 22:13:40 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.170 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 74.125.82.170 mail-wy0-f170.google.com Received: from [74.125.82.170] ([74.125.82.170:55033] helo=mail-wy0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0D/93-18648-29B05AC4 for ; Thu, 30 Sep 2010 18:13:39 -0400 Received: by wyb33 with SMTP id 33so78808wyb.29 for ; Thu, 30 Sep 2010 15:13:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=qNuaQoLS0396HqFg7SM7ldUqfSU4A2VWgAEt8FOEpl0=; b=JKT5V/B/+dt5NsuA4B54fIpXxQHLREN6Y6bNDN8pc/CBRjAXdOiQ4zVByuf3ew0kQu 9ns/nhsRgoX55Z6V6+FKGhyc6MYyUE0YU7+cbdKnqYfb4OfkDZrQzXjmYNPR/H5ZFgw/ uiu6f6zmyGQgGBzeEhfK3UYPSxWgkeDBLqOl0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=QAZPRRqApZFn35I3ma+R6Nbm2CXNEMuj6Bxij84q0+vrOkudk9OUucHyndnhpQ4Fw/ tuBiRvRW3KmvrjtEFGBsZEVkFU+B2jialHW34eoniWIDoLaBMR+mX0DGoBtQM90pJFjv pqIPkaLG6efhy70EFGLYQQLM0G8/yR8J0VGxE= MIME-Version: 1.0 Received: by 10.227.132.146 with SMTP id b18mr3721204wbt.148.1285884815806; Thu, 30 Sep 2010 15:13:35 -0700 (PDT) Received: by 10.227.130.164 with HTTP; Thu, 30 Sep 2010 15:13:35 -0700 (PDT) In-Reply-To: <4CA4EF7D.9070205@sugarcrm.com> References: <4CA4EF7D.9070205@sugarcrm.com> Date: Fri, 1 Oct 2010 00:13:35 +0200 Message-ID: To: Stas Malyshev Cc: Adam Harvey , PHP internals Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Expose compare_function() to userspace From: pierre.php@gmail.com (Pierre Joye) hi, On Thu, Sep 30, 2010 at 10:13 PM, Stas Malyshev wrote: > I'd like var_compare(). > Quick search in google reveals cmp() being used in actual code, and > compare() to some extent too, though mostly as method, so not really > clashing. Sounds good. Can we make it an operator-like (is_a for example) instead? It could be more efficient. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org