Lines Matching refs:level
42 static void php_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ … in php_array_element_dump() argument
45 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_array_element_dump()
47 php_printf("%*c[\"", level + 1, ' '); in php_array_element_dump()
51 php_var_dump(zv, level + 2); in php_array_element_dump()
55 …p(zend_property_info *prop_info, zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ in php_object_property_dump() argument
60 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_object_property_dump()
63 php_printf("%*c[", level + 1, ' '); in php_object_property_dump()
83 level + 1, ' ', ZSTR_VAL(type_str)); in php_object_property_dump()
86 php_var_dump(zv, level + 2); in php_object_property_dump()
103 PHPAPI void php_var_dump(zval *struc, int level) /* {{{ */ in php_var_dump() argument
113 if (level > 1) { in php_var_dump()
114 php_printf("%*c", level - 1, ' '); in php_var_dump()
152 php_array_element_dump(val, num, key, level); in php_var_dump()
158 if (level > 1) { in php_var_dump()
159 php_printf("%*c", level-1, ' '); in php_var_dump()
201 php_object_property_dump(prop_info, val, num, key, level); in php_var_dump()
206 if (level > 1) { in php_var_dump()
207 php_printf("%*c", level-1, ' '); in php_var_dump()
250 static void zval_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{… in zval_array_element_dump() argument
253 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_array_element_dump()
255 php_printf("%*c[\"", level + 1, ' '); in zval_array_element_dump()
259 php_debug_zval_dump(zv, level + 2); in zval_array_element_dump()
263 …p(zend_property_info *prop_info, zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ in zval_object_property_dump() argument
268 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_object_property_dump()
271 php_printf("%*c[", level + 1, ' '); in zval_object_property_dump()
287 level + 1, ' ', ZSTR_VAL(type_str)); in zval_object_property_dump()
290 php_debug_zval_dump(zv, level + 2); in zval_object_property_dump()
295 PHPAPI void php_debug_zval_dump(zval *struc, int level) /* {{{ */ in php_debug_zval_dump() argument
305 if (level > 1) { in php_debug_zval_dump()
306 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
353 zval_array_element_dump(val, index, key, level); in php_debug_zval_dump()
359 if (level > 1) { in php_debug_zval_dump()
360 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
395 zval_object_property_dump(prop_info, val, index, key, level); in php_debug_zval_dump()
400 if (level > 1) { in php_debug_zval_dump()
401 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
414 php_debug_zval_dump(Z_REFVAL_P(struc), level + 2); in php_debug_zval_dump()
415 if (level > 1) { in php_debug_zval_dump()
416 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
453 static zend_result php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level… in php_array_element_export() argument
456 buffer_append_spaces(buf, level+1); in php_array_element_export()
465 buffer_append_spaces(buf, level + 1); in php_array_element_export()
474 zend_result result = php_var_export_ex(zv, level + 2, buf); in php_array_element_export()
483 …p_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart_str *buf) /… in php_object_element_export() argument
485 buffer_append_spaces(buf, level + 2); in php_object_element_export()
502 zend_result result = php_var_export_ex(zv, level + 2, buf); in php_object_element_export()
510 PHPAPI zend_result php_var_export_ex(zval *struc, int level, smart_str *buf) /* {{{ */ in php_var_export_ex() argument
565 if (level > 1) { in php_var_export_ex()
567 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
571 if (php_array_element_export(val, index, key, level, buf) == FAILURE) { in php_var_export_ex()
583 if (level > 1) { in php_var_export_ex()
584 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
604 if (level > 1) { in php_var_export_ex()
606 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
648 php_object_element_export(val, index, key, level, buf); in php_var_export_ex()
657 if (level > 1 && !is_enum) { in php_var_export_ex()
658 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
682 PHPAPI void php_var_export(zval *struc, int level) /* {{{ */ in php_var_export() argument
685 zend_result result = php_var_export_ex(struc, level, &buf); in php_var_export()
1329 if (BG(serialize_lock) || !BG(serialize).level) { in php_var_serialize_init()
1335 BG(serialize).level = 1; in php_var_serialize_init()
1339 ++BG(serialize).level; in php_var_serialize_init()
1346 if (BG(serialize_lock) || BG(serialize).level == 1) { in php_var_serialize_destroy()
1350 if (!BG(serialize_lock) && !--BG(serialize).level) { in php_var_serialize_destroy()
1456 if (BG(unserialize).level > 1) { in php_unserialize_with_options()
1466 if (BG(unserialize).level <= 1) { in php_unserialize_with_options()
1477 if (BG(unserialize).level > 1) { in php_unserialize_with_options()