Re: Expose compare_function() to userspace
| From: | Stas Malyshev | Date: | Thu, 30 Sep 2010 22:26:41 +0000 |
| Subject: | Re: Expose compare_function() to userspace | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-49831@lists.php.net to get a copy of this message | ||
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 :) -- Stanislav Malyshev, Software Architect SugarCRM: http://www.sugarcrm.com/ (408)454-6900 ext. 227