1
0
mirror of https://github.com/php/php-src.git synced 2026-04-02 21:52:36 +02:00
This commit is contained in:
Dmitry Stogov
2006-11-15 17:53:39 +00:00
parent 7c08c95070
commit 7edaae4ebf

View File

@@ -1755,7 +1755,7 @@ static zval *debug_backtrace_get_args(void ***curpos TSRMLS_DC)
while (--arg_count >= 0) {
arg = (zval **) p++;
if (*arg) {
if ((*arg)->type != IS_OBJECT) {
if (Z_TYPE_PP(arg) != IS_OBJECT) {
SEPARATE_ZVAL_TO_MAKE_IS_REF(arg);
}
(*arg)->refcount++;