Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / README.ZEND_VM
| From: | Andi Gutmans | Date: | Fri, 10 Sep 2004 22:20:45 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / README.ZEND_VM | ||
| References: | 1 2 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-2962@lists.php.net to get a copy of this message | ||
At 12:00 AM 9/11/2004 +0200, Marcus Boerger wrote:
Hello Andi, that explanation is nice. And since there was no explanation of the old code before this fact is already enough reason to commit this change. Also the code looks much cleaner. The concerns were hooking to allow debuggers, compiler caches and optimizers. Overloading opcodes is not important at all but if i really needs this the ability to force a special vm model is more then enough. So the thing we should have is a configure switch to force the vm model. Anf of course we must check whether the important overloading/ hooking extensions still work. The Zend performance suit will run with the new code i assume. For the rest their authors may comment here: apd, apc, mmcache, xdebug, and what notWell the Zend Performance Suite doesn't work with it but I don't think it should be a problem to make it work as it also worked with PHP 4's switch(). I think we could possibly consider to always have the function handlers model compiled into PHP so that overloading extensions can use it (although it would add a bit to the PHP binary size) and thus, not require a special configure switch. What do you think? Andi