Lines Matching refs:zv
439 … *name, size_t len, char *keyname, size_t keylen, HashTable *parent, zval *zv, phpdbg_parse_var_fu… in phpdbg_parse_variable_arg_wrapper() argument
440 return callback(name, len, keyname, keylen, parent, zv); in phpdbg_parse_variable_arg_wrapper()
452 zval *zv; in phpdbg_parse_variable_with_arg() local
493 ZEND_HASH_FOREACH_KEY_VAL_IND(parent, numkey, strkey, zv) { in phpdbg_parse_variable_with_arg()
513 …ret = callback(name, namelen, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SU… in phpdbg_parse_variable_with_arg()
514 } else retry_ref: if (Z_TYPE_P(zv) == IS_OBJECT) { in phpdbg_parse_variable_with_arg()
519 …ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:F… in phpdbg_parse_variable_with_arg()
522 phpdbg_parse_variable_with_arg(input, len, Z_OBJPROP_P(zv), i, callback, step_cb, silent, arg); in phpdbg_parse_variable_with_arg()
523 } else if (Z_TYPE_P(zv) == IS_ARRAY) { in phpdbg_parse_variable_with_arg()
528 …ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:F… in phpdbg_parse_variable_with_arg()
531 phpdbg_parse_variable_with_arg(input, len, Z_ARRVAL_P(zv), i, callback, step_cb, silent, arg); in phpdbg_parse_variable_with_arg()
532 } else if (Z_ISREF_P(zv)) { in phpdbg_parse_variable_with_arg()
537 …ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:F… in phpdbg_parse_variable_with_arg()
540 ZVAL_DEREF(zv); in phpdbg_parse_variable_with_arg()
550 if (!(zv = zend_symtable_str_find(parent, last_index, index_len))) { in phpdbg_parse_variable_with_arg()
556 while (Z_TYPE_P(zv) == IS_INDIRECT) { in phpdbg_parse_variable_with_arg()
557 zv = Z_INDIRECT_P(zv); in phpdbg_parse_variable_with_arg()
565 …ret = callback(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:… in phpdbg_parse_variable_with_arg()
566 } else retry_ref_end: if (Z_TYPE_P(zv) == IS_OBJECT) { in phpdbg_parse_variable_with_arg()
571 …ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:F… in phpdbg_parse_variable_with_arg()
574 parent = Z_OBJPROP_P(zv); in phpdbg_parse_variable_with_arg()
575 } else if (Z_TYPE_P(zv) == IS_ARRAY) { in phpdbg_parse_variable_with_arg()
580 …ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:F… in phpdbg_parse_variable_with_arg()
583 parent = Z_ARRVAL_P(zv); in phpdbg_parse_variable_with_arg()
584 } else if (Z_ISREF_P(zv)) { in phpdbg_parse_variable_with_arg()
589 …ret = step_cb(name, i, keyname, index_len, parent, zv, arg) == SUCCESS || ret == SUCCESS?SUCCESS:F… in phpdbg_parse_variable_with_arg()
592 ZVAL_DEREF(zv); in phpdbg_parse_variable_with_arg()
660 char *phpdbg_short_zval_print(zval *zv, int maxlen) /* {{{ */ in phpdbg_short_zval_print() argument
664 switch (Z_TYPE_P(zv)) { in phpdbg_short_zval_print()
678 spprintf(&decode, 0, ZEND_LONG_FMT, Z_LVAL_P(zv)); in phpdbg_short_zval_print()
681 spprintf(&decode, 0, "%.*G", 14, Z_DVAL_P(zv)); in phpdbg_short_zval_print()
684 if (zend_finite(Z_DVAL_P(zv)) && !strchr(decode, '.')) { in phpdbg_short_zval_print()
697 zend_string *str = php_addcslashes(Z_STR_P(zv), "\\\"\n\t\0", 5); in phpdbg_short_zval_print()
709 spprintf(&decode, 0, "Rsrc #" ZEND_LONG_FMT, Z_RES_HANDLE_P(zv)); in phpdbg_short_zval_print()
712 spprintf(&decode, 0, "array(%d)", zend_hash_num_elements(Z_ARR_P(zv))); in phpdbg_short_zval_print()
715 zend_string *str = Z_OBJCE_P(zv)->name; in phpdbg_short_zval_print()
722 zend_ast *ast = Z_ASTVAL_P(zv); in phpdbg_short_zval_print()
734 spprintf(&decode, 0, "unknown type: %d", Z_TYPE_P(zv)); in phpdbg_short_zval_print()