1
0
Fork 0

partial fix for decompiling 5.3

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@710 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 12 years ago
parent 555d112674
commit c343c77ef4

@ -74,6 +74,14 @@ DEF_STRUCT_P_FUNC(`zval', , `dnl {{{
*dst = *src;
zval_copy_ctor(dst);
Z_SET_REFCOUNT(*dst, 1);
switch ((Z_TYPE_P(src) & IS_CONSTANT_TYPE_MASK)) {
case IS_CONSTANT:
dst->type = UNISW(IS_STRING, UG(unicode) ? IS_UNICODE : IS_STRING);
break;
case IS_CONSTANT_ARRAY:
dst->type = IS_ARRAY;
break;
}
DONE(value)
DONE(type)
#ifdef ZEND_ENGINE_2_3

Loading…
Cancel
Save