|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
Patch bug60169.diff for Scripting Engine problem Bug #60169Patch version 2011-10-30 02:03 UTC Return to Bug #60169 | Download this patchThis 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);
}
|
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 06:00:01 2025 UTC |