Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .gdbinit
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,10 @@ define ____print_ht
set $n = $n - 1
end
printf "[%d] ", $i
if $p->key
printf "%s => ", $p->key->val
if $p->val.u2.next & 0x80000000
printf "%s => ", $p->key.s->val
else
printf "%d => ", $p->h
printf "%d => ", $p->key.h
end
if $arg1 == 0
printf "%p\n", (zval *)&$p->val
Expand Down
8 changes: 4 additions & 4 deletions Zend/zend_builtin_functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,8 @@ ZEND_FUNCTION(func_get_args)
p = ZEND_CALL_ARG(ex, 1);
if (ZEND_CALL_NUM_ARGS(ex) > first_extra_arg) {
while (i < first_extra_arg) {
q->h = i;
q->key = NULL;
q->key.h = i;
ZVAL_NUM_KEY(q->val);
if (!Z_ISREF_P(p)) {
ZVAL_COPY(&q->val, p);
} else {
Expand All @@ -499,8 +499,8 @@ ZEND_FUNCTION(func_get_args)
p = ZEND_CALL_VAR_NUM(ex, ex->func->op_array.last_var + ex->func->op_array.T);
}
while (i < arg_count) {
q->h = i;
q->key = NULL;
q->key.h = i;
ZVAL_NUM_KEY(q->val);
if (!Z_ISREF_P(p)) {
ZVAL_COPY(&q->val, p);
} else {
Expand Down
Loading