Lines Matching refs:level

41 static void php_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ …  in php_array_element_dump()  argument
44 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_array_element_dump()
46 php_printf("%*c[\"", level + 1, ' '); in php_array_element_dump()
50 php_var_dump(zv, level + 2); in php_array_element_dump()
54 static void php_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{… in php_object_property_dump() argument
59 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_object_property_dump()
62 php_printf("%*c[", level + 1, ' '); in php_object_property_dump()
77 php_var_dump(zv, level + 2); in php_object_property_dump()
81 PHPAPI void php_var_dump(zval *struc, int level) /* {{{ */ in php_var_dump() argument
92 if (level > 1) { in php_var_dump()
93 php_printf("%*c", level - 1, ' '); in php_var_dump()
121 if (level > 1) { in php_var_dump()
133 php_array_element_dump(val, num, key, level); in php_var_dump()
136 if (level > 1) { in php_var_dump()
141 if (level > 1) { in php_var_dump()
142 php_printf("%*c", level-1, ' '); in php_var_dump()
164 php_object_property_dump(val, num, key, level); in php_var_dump()
171 if (level > 1) { in php_var_dump()
172 php_printf("%*c", level-1, ' '); in php_var_dump()
215 static void zval_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{… in zval_array_element_dump() argument
218 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_array_element_dump()
220 php_printf("%*c[\"", level + 1, ' '); in zval_array_element_dump()
224 php_debug_zval_dump(zv, level + 2); in zval_array_element_dump()
228 static void zval_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {… in zval_object_property_dump() argument
233 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_object_property_dump()
236 php_printf("%*c[", level + 1, ' '); in zval_object_property_dump()
249 php_debug_zval_dump(zv, level + 2); in zval_object_property_dump()
253 PHPAPI void php_debug_zval_dump(zval *struc, int level) /* {{{ */ in php_debug_zval_dump() argument
264 if (level > 1) { in php_debug_zval_dump()
265 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
293 if (level > 1) { in php_debug_zval_dump()
305 zval_array_element_dump(val, index, key, level); in php_debug_zval_dump()
308 if (level > 1) { in php_debug_zval_dump()
317 if (level > 1) { in php_debug_zval_dump()
318 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
336 zval_object_property_dump(val, index, key, level); in php_debug_zval_dump()
344 if (level > 1) { in php_debug_zval_dump()
345 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
395 static void php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart… in php_array_element_export() argument
398 buffer_append_spaces(buf, level+1); in php_array_element_export()
407 buffer_append_spaces(buf, level + 1); in php_array_element_export()
416 php_var_export_ex(zv, level + 2, buf); in php_array_element_export()
423 static void php_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smar… in php_object_element_export() argument
425 buffer_append_spaces(buf, level + 2); in php_object_element_export()
442 php_var_export_ex(zv, level + 2, buf); in php_object_element_export()
448 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf) /* {{{ */ in php_var_export_ex() argument
513 if (level > 1) { in php_var_export_ex()
515 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
519 php_array_element_export(val, index, key, level, buf); in php_var_export_ex()
525 if (level > 1) { in php_var_export_ex()
526 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
543 if (level > 1) { in php_var_export_ex()
545 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
558 php_object_element_export(val, index, key, level, buf); in php_var_export_ex()
562 if (level > 1) { in php_var_export_ex()
563 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
584 PHPAPI void php_var_export(zval *struc, int level) /* {{{ */ in php_var_export() argument
587 php_var_export_ex(struc, level, &buf); in php_var_export()
1031 if (BG(serialize_lock) || !BG(serialize).level) { in php_var_serialize_init()
1037 BG(serialize).level = 1; in php_var_serialize_init()
1041 ++BG(serialize).level; in php_var_serialize_init()
1048 if (BG(serialize_lock) || BG(serialize).level == 1) { in php_var_serialize_destroy()
1052 if (!BG(serialize_lock) && !--BG(serialize).level) { in php_var_serialize_destroy()