Indent (not sure why it was messed)

This commit is contained in:
Xinchen Hui 2015-11-24 11:08:30 +08:00
parent 31b4581c45
commit 3e0b2ba5d8
2 changed files with 16 additions and 16 deletions

View File

@ -1289,16 +1289,16 @@ yy97:
zval_ptr_dtor(rval);
if (Z_ISREF_P(rval_ref)) {
if (!Z_ISUNDEF_P(Z_REFVAL_P(rval_ref))) {
ZVAL_COPY(rval, rval_ref);
} else {
ZVAL_UNDEF(rval);
}
if (!Z_ISUNDEF_P(Z_REFVAL_P(rval_ref))) {
ZVAL_COPY(rval, rval_ref);
} else {
ZVAL_UNDEF(rval);
}
} else if (Z_ISUNDEF_P(rval_ref)) {
ZVAL_UNDEF(rval);
ZVAL_UNDEF(rval);
} else {
ZVAL_NEW_REF(rval_ref, rval_ref);
ZVAL_COPY(rval, rval_ref);
ZVAL_NEW_REF(rval_ref, rval_ref);
ZVAL_COPY(rval, rval_ref);
}
return 1;

View File

@ -523,16 +523,16 @@ PHPAPI int php_var_unserialize_ex(UNSERIALIZE_PARAMETER)
zval_ptr_dtor(rval);
if (Z_ISREF_P(rval_ref)) {
if (!Z_ISUNDEF_P(Z_REFVAL_P(rval_ref))) {
ZVAL_COPY(rval, rval_ref);
} else {
ZVAL_UNDEF(rval);
}
if (!Z_ISUNDEF_P(Z_REFVAL_P(rval_ref))) {
ZVAL_COPY(rval, rval_ref);
} else {
ZVAL_UNDEF(rval);
}
} else if (Z_ISUNDEF_P(rval_ref)) {
ZVAL_UNDEF(rval);
ZVAL_UNDEF(rval);
} else {
ZVAL_NEW_REF(rval_ref, rval_ref);
ZVAL_COPY(rval, rval_ref);
ZVAL_NEW_REF(rval_ref, rval_ref);
ZVAL_COPY(rval, rval_ref);
}
return 1;