cvs: ZendEngine2 / zend_compile.c
| From: | Marcus Boerger | Date: | Wed, 10 May 2006 21:04:40 +0000 |
| Subject: | cvs: ZendEngine2 / zend_compile.c | ||
| Groups: | php.zend-engine.cvs | ||
| Request: | Send a blank email to php-zend-engine-cvs+get-4851@lists.php.net to get a copy of this message | ||
helly Wed May 10 21:04:40 2006 UTC
Modified files:
/ZendEngine2 zend_compile.c
Log:
- MFB missing initialization
http://cvs.php.net/viewcvs.cgi/ZendEngine2/zend_compile.c?r1=1.705&r2=1.706&diff_format=u
Index: ZendEngine2/zend_compile.c
diff -u ZendEngine2/zend_compile.c:1.705 ZendEngine2/zend_compile.c:1.706
--- ZendEngine2/zend_compile.c:1.705 Tue May 2 15:49:44 2006
+++ ZendEngine2/zend_compile.c Wed May 10 21:04:40 2006
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: zend_compile.c,v 1.705 2006/05/02 15:49:44 dmitry Exp $ */
+/* $Id: zend_compile.c,v 1.706 2006/05/10 21:04:40 helly Exp $ */
#include <zend_language_parser.h>
#include "zend.h"
@@ -1819,6 +1819,8 @@
if (do_end_vparse) {
if (zend_is_function_or_method_call(expr)) {
opline->extended_value = ZEND_RETURNS_FUNCTION;
+ } else {
+ opline->extended_value = 0;
}
} else if (CG(active_op_array)->return_reference &&
expr && expr->u.EA.type == ZEND_PARSED_NEW) {