Re: Expose compare_function() to userspace
| From: | Pierre Joye | Date: | Thu, 30 Sep 2010 22:13:35 +0000 |
| Subject: | Re: Expose compare_function() to userspace | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49830@lists.php.net to get a copy of this message | ||
hi,
On Thu, Sep 30, 2010 at 10:13 PM, Stas Malyshev <smalyshev@sugarcrm.com> 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