> More specifically I was thinking of starting with adding an SPL interface called ArraySearchable,
> and modifying php_search_array in ext/standard/array.c to accept an object that implements that
> interface, in which case the appropriate interface method is called.
What this interface would do? I think standard Iterator's next(),
current() and valid() should be enough.
--
Stanislav Malyshev, Zend Software Architect
stas@zend.com http://www.zend.com/
(408)253-8829 MSN: stas@zend.com