From a19585eb4954b284c27b06b46c0ba9b384fca854 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Sun, 14 Aug 2005 15:08:38 +0000 Subject: [PATCH] - Show classname very needed - No 3rd " which doesn't help parsing # Does the class name need to be printed as u"" ? --- ext/standard/var.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ext/standard/var.c b/ext/standard/var.c index 8d7c6eb25e..3e8b28c9f2 100644 --- a/ext/standard/var.c +++ b/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; -- 2.50.1