diff options
| author | Xinchen Hui <laruence@php.net> | 2015-01-26 14:41:45 +0800 |
|---|---|---|
| committer | Xinchen Hui <laruence@php.net> | 2015-01-26 14:41:45 +0800 |
| commit | 91045c4d74c594ec56d135ec9ecec4f007918a06 (patch) | |
| tree | 28c34a47e8cc90a3d0df8da4666ceb6e94f9fcec | |
| parent | df984ad4f5e4e53e3f8bdafc7d620fd8112a121c (diff) | |
| download | php-git-91045c4d74c594ec56d135ec9ecec4f007918a06.tar.gz | |
Fixed ext/standard/tests/general_functions/bug41970.phpt fails
| -rw-r--r-- | Zend/zend_vm_def.h | 1 | ||||
| -rw-r--r-- | Zend/zend_vm_execute.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h index 84cbe98304..5f13a88f8b 100644 --- a/Zend/zend_vm_def.h +++ b/Zend/zend_vm_def.h @@ -3631,6 +3631,7 @@ ZEND_VM_HANDLER(120, ZEND_SEND_USER, VAR|CV, ANY) if (Z_OBJ(EX(call)->This)) { OBJ_RELEASE(Z_OBJ(EX(call)->This)); } + ZVAL_UNDEF(param); EX(call)->func = (zend_function*)&zend_pass_function; EX(call)->called_scope = NULL; Z_OBJ(EX(call)->This) = NULL; diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h index 805244e4a6..66c3832fbb 100644 --- a/Zend/zend_vm_execute.h +++ b/Zend/zend_vm_execute.h @@ -11535,6 +11535,7 @@ static int ZEND_FASTCALL ZEND_SEND_USER_SPEC_VAR_HANDLER(ZEND_OPCODE_HANDLER_AR if (Z_OBJ(EX(call)->This)) { OBJ_RELEASE(Z_OBJ(EX(call)->This)); } + ZVAL_UNDEF(param); EX(call)->func = (zend_function*)&zend_pass_function; EX(call)->called_scope = NULL; Z_OBJ(EX(call)->This) = NULL; @@ -23662,6 +23663,7 @@ static int ZEND_FASTCALL ZEND_SEND_USER_SPEC_CV_HANDLER(ZEND_OPCODE_HANDLER_ARG if (Z_OBJ(EX(call)->This)) { OBJ_RELEASE(Z_OBJ(EX(call)->This)); } + ZVAL_UNDEF(param); EX(call)->func = (zend_function*)&zend_pass_function; EX(call)->called_scope = NULL; Z_OBJ(EX(call)->This) = NULL; |
