cvs: ZendEngine2 / zend_execute_API.c
| From: | Stanislav Malyshev | Date: | Sun, 15 Jun 2003 11:44:30 +0000 |
| Subject: | cvs: ZendEngine2 / zend_execute_API.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-1368@lists.php.net to get a copy of this message | ||
stas Sun Jun 15 07:44:30 2003 EDT
Modified files:
/ZendEngine2 zend_execute_API.c
Log:
Fix bug #21800 - initialize opcode handlers in interactive mode
Index: ZendEngine2/zend_execute_API.c
diff -u ZendEngine2/zend_execute_API.c:1.209 ZendEngine2/zend_execute_API.c:1.210
--- ZendEngine2/zend_execute_API.c:1.209 Tue Jun 10 16:03:24 2003
+++ ZendEngine2/zend_execute_API.c Sun Jun 15 07:44:30 2003
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_execute_API.c,v 1.209 2003/06/10 20:03:24 imajes Exp $ */
+/* $Id: zend_execute_API.c,v 1.210 2003/06/15 11:44:30 stas Exp $ */
#include <stdio.h>
#include <signal.h>
@@ -883,7 +883,8 @@
opline->op2.u.constant.is_ref = 1;
opline->op2.u.constant.refcount = 2;
}
- opline++;
+ opline->handler = zend_opcode_handlers[opline->opcode];
+ opline++;
}
EG(return_value_ptr_ptr) = &local_retval;