AG> Can you please post a patch for the foreach() stuff (i.e. collection and AG> iterator)? AG> I don't exactly remember what you mean by array hooking. Is that what AG> Andrei wants or does it also include a user-land interface to overload?
Please look into spl. You can check it out spl (cvs co spl) into your extension directory and recompile with --enable-spl --enable-spl-hook-all. Then run the tests or play with the examples. Then you'll see. Documentation and profiling results can be found in the readme files.
I meant a patch for the Zend Engine. I can't really look over the code of spl because it's not a diff against the current engine :)
Andi Andi
-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php