Lines Matching refs:level
38 static void php_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ … in php_array_element_dump() argument
41 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_array_element_dump()
43 php_printf("%*c[\"", level + 1, ' '); in php_array_element_dump()
47 php_var_dump(zv, level + 2); in php_array_element_dump()
51 …p(zend_property_info *prop_info, zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ in php_object_property_dump() argument
56 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_object_property_dump()
59 php_printf("%*c[", level + 1, ' '); in php_object_property_dump()
79 level + 1, ' ', ZSTR_VAL(type_str)); in php_object_property_dump()
82 php_var_dump(zv, level + 2); in php_object_property_dump()
87 PHPAPI void php_var_dump(zval *struc, int level) /* {{{ */ in php_var_dump() argument
97 if (level > 1) { in php_var_dump()
98 php_printf("%*c", level - 1, ' '); in php_var_dump()
136 php_array_element_dump(val, num, key, level); in php_var_dump()
142 if (level > 1) { in php_var_dump()
143 php_printf("%*c", level-1, ' '); in php_var_dump()
175 php_object_property_dump(prop_info, val, num, key, level); in php_var_dump()
180 if (level > 1) { in php_var_dump()
181 php_printf("%*c", level-1, ' '); in php_var_dump()
223 static void zval_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{… in zval_array_element_dump() argument
226 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_array_element_dump()
228 php_printf("%*c[\"", level + 1, ' '); in zval_array_element_dump()
232 php_debug_zval_dump(zv, level + 2); in zval_array_element_dump()
236 …p(zend_property_info *prop_info, zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ in zval_object_property_dump() argument
241 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_object_property_dump()
244 php_printf("%*c[", level + 1, ' '); in zval_object_property_dump()
260 level + 1, ' ', ZSTR_VAL(type_str)); in zval_object_property_dump()
263 php_debug_zval_dump(zv, level + 2); in zval_object_property_dump()
268 PHPAPI void php_debug_zval_dump(zval *struc, int level) /* {{{ */ in php_debug_zval_dump() argument
278 if (level > 1) { in php_debug_zval_dump()
279 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
317 zval_array_element_dump(val, index, key, level); in php_debug_zval_dump()
323 if (level > 1) { in php_debug_zval_dump()
324 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
353 zval_object_property_dump(prop_info, 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()
409 static void php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart… in php_array_element_export() argument
412 buffer_append_spaces(buf, level+1); in php_array_element_export()
421 buffer_append_spaces(buf, level + 1); in php_array_element_export()
430 php_var_export_ex(zv, level + 2, buf); in php_array_element_export()
437 static void php_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smar… in php_object_element_export() argument
439 buffer_append_spaces(buf, level + 2); in php_object_element_export()
456 php_var_export_ex(zv, level + 2, buf); in php_object_element_export()
462 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf) /* {{{ */ in php_var_export_ex() argument
527 if (level > 1) { in php_var_export_ex()
529 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
533 php_array_element_export(val, index, key, level, buf); in php_var_export_ex()
539 if (level > 1) { in php_var_export_ex()
540 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
558 if (level > 1) { in php_var_export_ex()
560 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
573 php_object_element_export(val, index, key, level, buf); in php_var_export_ex()
578 if (level > 1) { in php_var_export_ex()
579 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
600 PHPAPI void php_var_export(zval *struc, int level) /* {{{ */ in php_var_export() argument
603 php_var_export_ex(struc, level, &buf); in php_var_export()
1120 if (BG(serialize_lock) || !BG(serialize).level) { in php_var_serialize_init()
1126 BG(serialize).level = 1; in php_var_serialize_init()
1130 ++BG(serialize).level; in php_var_serialize_init()
1137 if (BG(serialize_lock) || BG(serialize).level == 1) { in php_var_serialize_destroy()
1141 if (!BG(serialize_lock) && !--BG(serialize).level) { in php_var_serialize_destroy()
1242 if (BG(unserialize).level > 1) { in php_unserialize_with_options()
1252 if (BG(unserialize).level <= 1) { in php_unserialize_with_options()
1256 } else if (BG(unserialize).level > 1) { in php_unserialize_with_options()