Hello Andi, you asked for a spl patch against ZE2. Ok, i spent some hours to move spl-foreach hooking into the engine.
Here is the diff: http://marcus-boerger.de/php/ext/ze2/ze2-spl-20030630.diff.tgz Here are modified tests: http://marcus-boerger.de/php/ext/ze2/ze2-spl-tests-20030630.tgz Here is the diff needed for sqlite: http://marcus-boerger.de/php/ext/ze2/ze2-spl-sqlite-20030630.tgz As soon as i find some more time i'll give the array stuff a go. Anyway it would be good to receive some feedback before doing it. As you can see easily, the impact on the foreah opcode handlers is even less than i thought. So i guess it is more than acceptable when compared to what we gain. Happy experimenting Best regards, Marcus mailto:[EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php