Lines Matching refs:level
43 static void php_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{ … in php_array_element_dump() argument
46 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_array_element_dump()
48 php_printf("%*c[\"", level + 1, ' '); in php_array_element_dump()
52 php_var_dump(zv, level + 2); in php_array_element_dump()
56 static void php_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{… in php_object_property_dump() argument
61 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in php_object_property_dump()
64 php_printf("%*c[", level + 1, ' '); in php_object_property_dump()
79 php_var_dump(zv, level + 2); in php_object_property_dump()
83 PHPAPI void php_var_dump(zval *struc, int level) /* {{{ */ in php_var_dump() argument
94 if (level > 1) { in php_var_dump()
95 php_printf("%*c", level - 1, ' '); in php_var_dump()
122 if (level > 1 && ZEND_HASH_APPLY_PROTECTION(myht) && ++myht->u.v.nApplyCount > 1) { in php_var_dump()
132 php_array_element_dump(val, num, key, level); in php_var_dump()
134 if (level > 1 && ZEND_HASH_APPLY_PROTECTION(myht)) { 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()
292 if (level > 1 && ZEND_HASH_APPLY_PROTECTION(myht) && myht->u.v.nApplyCount++ > 1) { in php_debug_zval_dump()
300 zval_array_element_dump(val, index, key, level); in php_debug_zval_dump()
302 if (level > 1 && ZEND_HASH_APPLY_PROTECTION(myht)) { in php_debug_zval_dump()
309 if (level > 1) { in php_debug_zval_dump()
310 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
329 zval_object_property_dump(val, index, key, level); in php_debug_zval_dump()
337 if (level > 1) { in php_debug_zval_dump()
338 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
388 static void php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart… in php_array_element_export() argument
391 buffer_append_spaces(buf, level+1); in php_array_element_export()
400 buffer_append_spaces(buf, level + 1); in php_array_element_export()
409 php_var_export_ex(zv, level + 2, buf); in php_array_element_export()
416 static void php_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smar… in php_object_element_export() argument
418 buffer_append_spaces(buf, level + 2); in php_object_element_export()
435 php_var_export_ex(zv, level + 2, buf); in php_object_element_export()
441 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf) /* {{{ */ in php_var_export_ex() argument
496 if (level > 1) { in php_var_export_ex()
498 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
502 php_array_element_export(val, index, key, level, buf); in php_var_export_ex()
507 if (level > 1) { in php_var_export_ex()
508 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
525 if (level > 1) { in php_var_export_ex()
527 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
535 php_object_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()
557 PHPAPI void php_var_export(zval *struc, int level) /* {{{ */ in php_var_export() argument
560 php_var_export_ex(struc, level, &buf); in php_var_export()
1008 if (BG(serialize_lock) || !BG(serialize).level) { in php_var_serialize_init()
1014 BG(serialize).level = 1; in php_var_serialize_init()
1018 ++BG(serialize).level; in php_var_serialize_init()
1025 if (BG(serialize_lock) || BG(serialize).level == 1) { in php_var_serialize_destroy()
1029 if (!BG(serialize_lock) && !--BG(serialize).level) { in php_var_serialize_destroy()