php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #63741
Patch bug63741.phpt revision 2012-12-14 06:29 UTC by bobwei9 at hotmail dot com
revision 2012-12-12 21:42 UTC by bobwei9 at hotmail dot com
revision 2012-12-12 20:42 UTC by bobwei9 at hotmail dot com
revision 2012-12-12 18:59 UTC by bobwei9 at hotmail dot com
Patch bug63741.patch revision 2012-12-14 02:33 UTC by laruence@php.net
revision 2012-12-14 02:33 UTC by laruence@php.net

Patch bug63741.patch for SPL related Bug #63741

Patch version 2012-12-14 02:33 UTC

Return to Bug #63741 | Download this patch
Patch Revisions:

Developer: laruence@php.net

diff --git a/Zend/zend_execute.c b/Zend/zend_execute.c
index e6034ba..6c5551d 100644
--- a/Zend/zend_execute.c
+++ b/Zend/zend_execute.c
@@ -1566,7 +1566,7 @@ void zend_free_compiled_variables(zend_execute_data *execute_data) /* {{{ */
  *                             +----------------------------------------+
  */
 
-static zend_always_inline zend_execute_data *i_create_execute_data_from_op_array(zend_op_array *op_array, zend_bool nested TSRMLS_DC) /* {{{ */
+static zend_execute_data *i_create_execute_data_from_op_array(zend_op_array *op_array, zend_bool nested TSRMLS_DC) /* {{{ */
 {
 	zend_execute_data *execute_data;
 
diff --git a/Zend/zend_vm_def.h b/Zend/zend_vm_def.h
index ef3f80e..0c4a112 100644
--- a/Zend/zend_vm_def.h
+++ b/Zend/zend_vm_def.h
@@ -2819,6 +2819,7 @@ ZEND_VM_HANDLER(60, ZEND_DO_FCALL, CONST, ANY)
 	}
 	call->fbc = EX(function_state).function;
 	call->object = NULL;
+	call->called_scope = NULL;
 	call->is_ctor_call = 0;
 	EX(call) = call;
 
diff --git a/Zend/zend_vm_execute.h b/Zend/zend_vm_execute.h
index 4e4dedf..4e04caa 100644
--- a/Zend/zend_vm_execute.h
+++ b/Zend/zend_vm_execute.h
@@ -2296,6 +2296,7 @@ static int ZEND_FASTCALL  ZEND_DO_FCALL_SPEC_CONST_HANDLER(ZEND_OPCODE_HANDLER_A
 	}
 	call->fbc = EX(function_state).function;
 	call->object = NULL;
+	call->called_scope = NULL;
 	call->is_ctor_call = 0;
 	EX(call) = call;
 
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 19:01:33 2024 UTC