php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #60169
Patch bug60169.diff revision 2011-10-31 06:48 UTC by laruence@php.net
revision 2011-10-30 02:03 UTC by laruence@php.net
Patch invalid.patch revision 2011-10-31 03:24 UTC by laruence@php.net
Patch bug60169.phpt revision 2011-10-30 02:08 UTC by laruence@php.net

Patch bug60169.diff for Scripting Engine problem Bug #60169

Patch version 2011-10-30 02:03 UTC

Return to Bug #60169 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: laruence@php.net

Index: trunk/Zend/zend_vm_execute.h
===================================================================
--- trunk/Zend/zend_vm_execute.h	(revision 318478)
+++ trunk/Zend/zend_vm_execute.h	(working copy)
@@ -27397,12 +27397,12 @@
 	if (IS_CV == IS_VAR || IS_CV == IS_CV) {
 		Z_ADDREF_P(value);
 		EX_T(opline->result.var).var.ptr = value;
-		EX_T(opline->result.var).var.ptr_ptr = NULL;
+		EX_T(opline->result.var).var.ptr_ptr = &value;
 	} else {
 		ALLOC_ZVAL(ret);
 		INIT_PZVAL_COPY(ret, value);
 		EX_T(opline->result.var).var.ptr = ret;
-		EX_T(opline->result.var).var.ptr_ptr = NULL;
+		EX_T(opline->result.var).var.ptr_ptr = &ret;
 		if (!0) {
 			zval_copy_ctor(EX_T(opline->result.var).var.ptr);
 		}
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 15:01:30 2024 UTC