Browse Source

- Show classname very needed

- No 3rd " which doesn't help parsing
# Does the class name need to be printed as u"<name>" ?
migration/RELEASE_1_0_0
Marcus Boerger 21 years ago
parent
commit
a19585eb49
  1. 5
      ext/standard/var.c

5
ext/standard/var.c

@ -163,7 +163,7 @@ static int php_object_property_dump(zval **zv, int num_args, va_list args, zend_
if (class_name[0]=='*') {
ZEND_PUTS(":protected");
} else {
ZEND_PUTS(":private");
php_printf(":%s:private", class_name);
}
} else {
if (hash_key->type == IS_STRING) {
@ -173,9 +173,8 @@ static int php_object_property_dump(zval **zv, int num_args, va_list args, zend_
php_printf("u");
php_var_dump_unicode(hash_key->u.unicode, hash_key->nKeyLength-1, verbose TSRMLS_CC);
}
ZEND_PUTS(":public");
}
ZEND_PUTS("\"]=>\n");
ZEND_PUTS("]=>\n");
}
php_var_dump(zv, level + 2, verbose TSRMLS_CC);
return 0;

Loading…
Cancel
Save