you're not campaigning for sainthood, are you ;-) ive been reading python docs today, and their iterators and sequences are one of the things that make it so powerful yet simple because of their consistency throughout.
what do you mean you didnt have to modify the engine ? did you mess with the opcode handlers ? l0t3k btw - im currently marooned on windoze until my mdk box is fixed, so could you post a tar.gz ? bz2 gives PowerArchiver the hiccups. "Marcus Börger" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, i've just done the first step for a new extension which shall make use of interfaces newly implemented in ZE2. currently the extension implements the namespace "spl" and the interfaces "spl_foreach", "spl_forward" and "spl_key". A class that implements these can be used in a foreach() call. This work without even modifying the engine, i simply hook on the necessary calls. References: The documentation of the interfaces and their usage: http://marcus-boerger.de/php/ext/spl/spl.phps The extension code: http://marcus-boerger.de/php/ext/spl/spl-20030309.tar.bz2 And a testfile to demonstrate it works (beside shutdown): http://marcus-boerger.de/php/ext/spl/tests/foreach.phpt Of corse i am curious about other meanings :-) Otherwise i wouldn`t have posted here, would i? regards marcus -- ---------------------------------------------------------------------- Marcus Börger - Looking for all sorts of freelance work - just ask... Did i help you? Consider a gift: http://www.amazon.de/exec/obidos/wishlist/ho722v0rg1u0 ---------------------------------------------------------------------- -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php