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
[EMAIL PROTECTED]   http://www.zend.com/
(408)253-8829   MSN: [EMAIL PROTECTED]

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to