Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c
| From: | Andi Gutmans | Date: | Sun, 29 Feb 2004 18:52:21 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2 / zend_execute.c | ||
| References: | 1 2 3 4 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-2427@lists.php.net to get a copy of this message | ||
Fine by me.
At 16:48 29/02/2004 +0100, Derick Rethans wrote:
On Sun, 29 Feb 2004, George Schlossnagle wrote:Just wondering, but what would this be useful for?It's useful for most sorts of zend extensions. APC and APD both manually duplicate the symbol tables, as does Turck MMCache. I think your XDebug does as well, no? Nope, I don't. But I could make use of it if I'm sure that all non-used elements of the array are set to \0. (Then I can check if one exists and reroute it). Any problems if I add the following patch: Index: zend_execute.c =================================================================== RCS file: /repository/ZendEngine2/zend_execute.c,v retrieving revision 1.615 diff -u -p -r1.615 zend_execute.c--- zend_execute.c 25 Feb 2004 17:23:50 -0000 1.615 +++ zend_execute.c 29 Feb 2004 15:47:18 -0000@@ -4199,6 +4199,7 @@ int zend_verify_abstract_class_handler(Z void zend_init_opcodes_handlers() {+ memset(zend_opcode_handlers, sizeof(zend_opcode_handlers), 0); zend_opcode_handlers[ZEND_NOP] = zend_nop_handler; zend_opcode_handlers[ZEND_ADD] = zend_add_handler; zend_opcode_handlers[ZEND_SUB] = zend_sub_handler;regards, Derick -- Zend Engine CVS Mailing List (http://cvs.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php