Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49838 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3297 invoked from network); 1 Oct 2010 09:57:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Oct 2010 09:57:44 -0000 X-Host-Fingerprint: 78.142.172.145 gate-g21.inqnet.at Received: from [78.142.172.145] ([78.142.172.145:1393] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BA/CC-18648-690B5AC4 for ; Fri, 01 Oct 2010 05:57:43 -0400 Message-ID: To: internals@lists.php.net Date: Fri, 01 Oct 2010 11:57:38 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100916 Lanikai/3.1.4 MIME-Version: 1.0 References: <4CA4EF7D.9070205@sugarcrm.com> <4CA50EA1.603@sugarcrm.com> In-Reply-To: <4CA50EA1.603@sugarcrm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 78.142.172.145 Subject: Re: [PHP-DEV] Expose compare_function() to userspace From: mike@php.net (Michael Wallner) On 10/01/2010 12:26 AM, Stas Malyshev wrote: > Hi! > >> Can we make it an operator-like (is_a for example) instead? It >> could be more efficient. > > Operator has a downside that you can't pass it as a parameter. We > could have something like <=> (spaceship operator!) or even cmp > though :) OT: Stas, could you please include the name of the Person(s) you're quoting in your mails. It's extremely hard to follow the conversation if there are posts of you in it. Thank you! Mike