Lines Matching refs:level
40 static void php_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ … in php_array_element_dump() argument
43 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_array_element_dump()
45 php_printf("%*c[\"", level + 1, ' '); in php_array_element_dump()
49 php_var_dump(zv, level + 2); in php_array_element_dump()
53 …p(zend_property_info *prop_info, zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ in php_object_property_dump() argument
58 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_object_property_dump()
61 php_printf("%*c[", level + 1, ' '); in php_object_property_dump()
81 level + 1, ' ', ZSTR_VAL(type_str)); in php_object_property_dump()
84 php_var_dump(zv, level + 2); in php_object_property_dump()
89 PHPAPI void php_var_dump(zval *struc, int level) /* {{{ */ in php_var_dump() argument
99 if (level > 1) { in php_var_dump()
100 php_printf("%*c", level - 1, ' '); in php_var_dump()
138 php_array_element_dump(val, num, key, level); in php_var_dump()
144 if (level > 1) { in php_var_dump()
145 php_printf("%*c", level-1, ' '); in php_var_dump()
184 php_object_property_dump(prop_info, val, num, key, level); in php_var_dump()
189 if (level > 1) { in php_var_dump()
190 php_printf("%*c", level-1, ' '); in php_var_dump()
233 static void zval_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{… in zval_array_element_dump() argument
236 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_array_element_dump()
238 php_printf("%*c[\"", level + 1, ' '); in zval_array_element_dump()
242 php_debug_zval_dump(zv, level + 2); in zval_array_element_dump()
246 …p(zend_property_info *prop_info, zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ */ in zval_object_property_dump() argument
251 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_object_property_dump()
254 php_printf("%*c[", level + 1, ' '); in zval_object_property_dump()
270 level + 1, ' ', ZSTR_VAL(type_str)); in zval_object_property_dump()
273 php_debug_zval_dump(zv, level + 2); in zval_object_property_dump()
278 PHPAPI void php_debug_zval_dump(zval *struc, int level) /* {{{ */ in php_debug_zval_dump() argument
287 if (level > 1) { in php_debug_zval_dump()
288 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
334 zval_array_element_dump(val, index, key, level); in php_debug_zval_dump()
340 if (level > 1) { in php_debug_zval_dump()
341 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
372 zval_object_property_dump(prop_info, val, index, key, level); in php_debug_zval_dump()
377 if (level > 1) { in php_debug_zval_dump()
378 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
390 php_debug_zval_dump(Z_REFVAL_P(struc), level + 2); in php_debug_zval_dump()
391 if (level > 1) { in php_debug_zval_dump()
392 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
429 static void php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart… in php_array_element_export() argument
432 buffer_append_spaces(buf, level+1); in php_array_element_export()
441 buffer_append_spaces(buf, level + 1); in php_array_element_export()
450 php_var_export_ex(zv, level + 2, buf); in php_array_element_export()
457 static void php_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smar… in php_object_element_export() argument
459 buffer_append_spaces(buf, level + 2); in php_object_element_export()
476 php_var_export_ex(zv, level + 2, buf); in php_object_element_export()
482 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf) /* {{{ */ in php_var_export_ex() argument
537 if (level > 1) { in php_var_export_ex()
539 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
543 php_array_element_export(val, index, key, level, buf); in php_var_export_ex()
549 if (level > 1) { in php_var_export_ex()
550 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
568 if (level > 1) { in php_var_export_ex()
570 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
595 php_object_element_export(val, index, key, level, buf); in php_var_export_ex()
601 if (level > 1 && !is_enum) { in php_var_export_ex()
602 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
623 PHPAPI void php_var_export(zval *struc, int level) /* {{{ */ in php_var_export() argument
626 php_var_export_ex(struc, level, &buf); in php_var_export()
1283 if (BG(serialize_lock) || !BG(serialize).level) { in php_var_serialize_init()
1289 BG(serialize).level = 1; in php_var_serialize_init()
1293 ++BG(serialize).level; in php_var_serialize_init()
1300 if (BG(serialize_lock) || BG(serialize).level == 1) { in php_var_serialize_destroy()
1304 if (!BG(serialize_lock) && !--BG(serialize).level) { in php_var_serialize_destroy()
1401 if (BG(unserialize).level > 1) { in php_unserialize_with_options()
1411 if (BG(unserialize).level <= 1) { in php_unserialize_with_options()
1415 } else if (BG(unserialize).level > 1) { in php_unserialize_with_options()