}
/* Constants */
- if (&ce->constants_table) {
string_printf(str, "\n");
count = zend_hash_num_elements(&ce->constants_table);
string_printf(str, "%s - Constants [%d] {\n", indent, count);
} ZEND_HASH_FOREACH_END();
}
string_printf(str, "%s }\n", indent);
- }
/* Static properties */
- if (&ce->properties_info) {
/* counting static properties */
count = zend_hash_num_elements(&ce->properties_info);
if (count > 0) {
} ZEND_HASH_FOREACH_END();
}
string_printf(str, "%s }\n", indent);
- }
/* Static methods */
- if (&ce->function_table) {
/* counting static methods */
count = zend_hash_num_elements(&ce->function_table);
if (count > 0) {
string_printf(str, "\n");
}
string_printf(str, "%s }\n", indent);
- }
/* Default/Implicit properties */
- if (&ce->properties_info) {
count = zend_hash_num_elements(&ce->properties_info) - count_static_props - count_shadow_props;
string_printf(str, "\n%s - Properties [%d] {\n", indent, count);
if (count > 0) {
} ZEND_HASH_FOREACH_END();
}
string_printf(str, "%s }\n", indent);
- }
if (obj && Z_TYPE_P(obj) == IS_OBJECT && Z_OBJ_HT_P(obj)->get_properties) {
string dyn;
}
/* Non static methods */
- if (&ce->function_table) {
count = zend_hash_num_elements(&ce->function_table) - count_static_funcs;
if (count > 0) {
zend_function *mptr;
string_printf(str, "\n%s - Methods [0] {\n", indent);
}
string_printf(str, "%s }\n", indent);
- }
string_printf(str, "%s}\n", indent);
string_free(&sub_indent);