Re: Expose compare_function() to userspace

From: Date: Fri, 01 Oct 2010 09:57:38 +0000
Subject: Re: Expose compare_function() to userspace
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-49838@lists.php.net to get a copy of this message
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

« previous php.internals (#49838) next »