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 static void php_object_property_dump(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()
74 php_var_dump(zv, level + 2); in php_object_property_dump()
78 PHPAPI void php_var_dump(zval *struc, int level) /* {{{ */ in php_var_dump() argument
89 if (level > 1) { in php_var_dump()
90 php_printf("%*c", level - 1, ' '); in php_var_dump()
117 if (level > 1 && ZEND_HASH_APPLY_PROTECTION(myht) && ++myht->u.v.nApplyCount > 1) { in php_var_dump()
127 php_array_element_dump(val, num, key, level); in php_var_dump()
129 if (level > 1 && ZEND_HASH_APPLY_PROTECTION(myht)) { in php_var_dump()
136 if (level > 1) { in php_var_dump()
137 php_printf("%*c", level-1, ' '); in php_var_dump()
159 php_object_property_dump(val, num, key, level); in php_var_dump()
166 if (level > 1) { in php_var_dump()
167 php_printf("%*c", level-1, ' '); in php_var_dump()
210 static void zval_array_element_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {{{… in zval_array_element_dump() argument
213 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_array_element_dump()
215 php_printf("%*c[\"", level + 1, ' '); in zval_array_element_dump()
219 php_debug_zval_dump(zv, level + 2); in zval_array_element_dump()
223 static void zval_object_property_dump(zval *zv, zend_ulong index, zend_string *key, int level) /* {… in zval_object_property_dump() argument
228 php_printf("%*c[" ZEND_LONG_FMT "]=>\n", level + 1, ' ', index); in zval_object_property_dump()
231 php_printf("%*c[", level + 1, ' '); in zval_object_property_dump()
244 php_debug_zval_dump(zv, level + 2); in zval_object_property_dump()
248 PHPAPI void php_debug_zval_dump(zval *struc, int level) /* {{{ */ in php_debug_zval_dump() argument
259 if (level > 1) { in php_debug_zval_dump()
260 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
287 if (level > 1 && ZEND_HASH_APPLY_PROTECTION(myht) && myht->u.v.nApplyCount++ > 1) { in php_debug_zval_dump()
295 zval_array_element_dump(val, index, key, level); in php_debug_zval_dump()
297 if (level > 1 && ZEND_HASH_APPLY_PROTECTION(myht)) { in php_debug_zval_dump()
304 if (level > 1) { in php_debug_zval_dump()
305 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
324 zval_object_property_dump(val, index, key, level); in php_debug_zval_dump()
332 if (level > 1) { in php_debug_zval_dump()
333 php_printf("%*c", level - 1, ' '); in php_debug_zval_dump()
383 static void php_array_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smart… in php_array_element_export() argument
386 buffer_append_spaces(buf, level+1); in php_array_element_export()
395 buffer_append_spaces(buf, level + 1); in php_array_element_export()
404 php_var_export_ex(zv, level + 2, buf); in php_array_element_export()
411 static void php_object_element_export(zval *zv, zend_ulong index, zend_string *key, int level, smar… in php_object_element_export() argument
413 buffer_append_spaces(buf, level + 2); in php_object_element_export()
430 php_var_export_ex(zv, level + 2, buf); in php_object_element_export()
436 PHPAPI void php_var_export_ex(zval *struc, int level, smart_str *buf) /* {{{ */ in php_var_export_ex() argument
493 if (level > 1) { in php_var_export_ex()
495 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
499 php_array_element_export(val, index, key, level, buf); in php_var_export_ex()
504 if (level > 1) { in php_var_export_ex()
505 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
522 if (level > 1) { in php_var_export_ex()
524 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
532 php_object_element_export(val, index, key, level, buf); in php_var_export_ex()
536 if (level > 1) { in php_var_export_ex()
537 buffer_append_spaces(buf, level - 1); in php_var_export_ex()
554 PHPAPI void php_var_export(zval *struc, int level) /* {{{ */ in php_var_export() argument
557 php_var_export_ex(struc, level, &buf); in php_var_export()